summaryrefslogtreecommitdiff
path: root/lib/Exceptions.cc
diff options
context:
space:
mode:
authorpixel <pixel>2002-12-23 20:49:18 +0000
committerpixel <pixel>2002-12-23 20:49:18 +0000
commitc918391887c08d5ab4874daa5267401c08d6563a (patch)
treecd2e362455f14e6bbca93f2e8c984f3ce50f4d78 /lib/Exceptions.cc
parent9ba3c9416d45e5c53c8e7f83638d3bfba22520d4 (diff)
VC6 is definitively a broken compiler...
Diffstat (limited to 'lib/Exceptions.cc')
-rw-r--r--lib/Exceptions.cc2
1 files changed, 2 insertions, 0 deletions
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) {