Hi Stipe,

your last commit:

Index: gateway/gwlib/gwmem-native.c
diff -u gateway/gwlib/gwmem-native.c:1.10 gateway/gwlib/gwmem-native.c:1.11
--- gateway/gwlib/gwmem-native.c:1.10   Sun Jan  7 23:52:56 2007
+++ gateway/gwlib/gwmem-native.c        Mon Jan 22 02:22:25 2007
@@ -108,6 +108,7 @@
 void gw_native_free(void *ptr)
 {
     free(ptr);
+    ptr = NULL;
 }


is bogus and unneeded because you just set ptr to NULL but not pointer af caller. So this commit does nothing to prevent situation you described and should be reverted.

--
Thanks,
Alex


Reply via email to