]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
ignoring null pointer free's for traces
authorkostas <>
Sat, 28 Feb 1998 23:17:28 +0000 (23:17 +0000)
committerkostas <>
Sat, 28 Feb 1998 23:17:28 +0000 (23:17 +0000)
lib/util.c

index 7ec46bd5d1e8c6c39ec8b87548a3df8c5029e5fd..f03d901a9e565abcac1f14dd8bdbb1008954b6fb 100644 (file)
@@ -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
 }