#include "PosixSource.h"
#include "ThreadLabels.h"
+#include "RtsUtils.h"
#include <stdlib.h>
+#if defined(DEBUG)
+/* to the end */
static HashTable * threadLabels = NULL;
void
void * old = NULL;
if ((old = lookupHashTable(threadLabels,key))) {
removeHashTable(threadLabels,key,old);
- free(old);
+ stgFree(old);
}
}
+#endif /* DEBUG */