mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
style
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: mem.c,v 1.103 2001/10/12 00:35:11 gson Exp $ */
|
||||
/* $Id: mem.c,v 1.104 2001/10/19 00:17:17 gson Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
@@ -1020,7 +1020,7 @@ isc__mem_get(isc_mem_t *ctx, size_t size FLARG) {
|
||||
#else /* ISC_MEM_USE_INTERNAL_MALLOC */
|
||||
ptr = mem_get(ctx, size);
|
||||
LOCK(&ctx->lock);
|
||||
if (ptr)
|
||||
if (ptr != NULL)
|
||||
mem_getstats(ctx, size);
|
||||
#endif /* ISC_MEM_USE_INTERNAL_MALLOC */
|
||||
|
||||
|
Reference in New Issue
Block a user