* support/Util/NewAlloc.c (freeTrace): Changed free for the gc case to not free...
[fw/sdcc] / support / Util / NewAlloc.c
index 949b1a8537b8f24bbe8aec5f041bff52a003509e..d049260a99ca3e58546d67165a4541493211ffba 100644 (file)
@@ -45,7 +45,11 @@ functions.
 
 #define MALLOC GC_malloc
 #define REALLOC GC_realloc
-#define FREE   GC_free
+/* PENDING: This is a mild hack.  If we try to GC_free something
+   allocated with malloc() then the program will segfault.  Might as
+   well drop it and let the garbase collector take care of things.
+*/
+#define FREE(_a)       
 
 #else