From: kostas <> Date: Sat, 28 Feb 1998 23:17:28 +0000 (+0000) Subject: ignoring null pointer free's for traces X-Git-Tag: SQUID_3_0_PRE1~3950 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7aa3e3a1fd7e9eeb0be53042f6790e103eaa978;p=thirdparty%2Fsquid.git ignoring null pointer free's for traces --- diff --git a/lib/util.c b/lib/util.c index 7ec46bd5d1..f03d901a9e 100644 --- a/lib/util.c +++ b/lib/util.c @@ -1,6 +1,6 @@ /* - * $Id: util.c,v 1.51 1998/02/27 09:07:25 kostas Exp $ + * $Id: util.c,v 1.52 1998/02/28 16:17:28 kostas Exp $ * * DEBUG: * AUTHOR: Harvest Derived @@ -532,7 +532,7 @@ xxfree(void *s) #endif free(s); #if MEM_GEN_TRACE - if (tracefp) + if (tracefp && s) fprintf(tracefp,"f:%p\n",s); #endif }