From c918391887c08d5ab4874daa5267401c08d6563a Mon Sep 17 00:00:00 2001 From: pixel Date: Mon, 23 Dec 2002 20:49:18 +0000 Subject: VC6 is definitively a broken compiler... --- lib/Exceptions.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/Exceptions.cc') diff --git a/lib/Exceptions.cc b/lib/Exceptions.cc index 1ff8b6a..e9c5861 100644 --- a/lib/Exceptions.cc +++ b/lib/Exceptions.cc @@ -124,11 +124,13 @@ void * xrealloc(void * ptr, size_t s) { void xfree(unsigned char *& p) { char * t = (char *) p; xfree(t); + p = 0; } void xfree(void *& p) { char * t = (char *) p; xfree(t); + p = 0; } void xfree(char *& p) { -- cgit v1.2.3