diff options
-rw-r--r-- | lib/Exceptions.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Exceptions.cc b/lib/Exceptions.cc index 9fe52f6..1ff8b6a 100644 --- a/lib/Exceptions.cc +++ b/lib/Exceptions.cc @@ -122,11 +122,13 @@ void * xrealloc(void * ptr, size_t s) { } void xfree(unsigned char *& p) { - xfree(((char *)p)); + char * t = (char *) p; + xfree(t); } void xfree(void *& p) { - xfree(((char *)p)); + char * t = (char *) p; + xfree(t); } void xfree(char *& p) { |