Commit da6d4885 authored by Simon Marlow's avatar Simon Marlow
Browse files

free the entries in the thread label table on exit

parent 9eba9078
......@@ -33,12 +33,12 @@ void
if (threadLabels != NULL) {
freeHashTable(threadLabels, NULL);
freeHashTable(threadLabels, stgFree);
threadLabels = NULL;
static void
updateThreadLabel(StgWord key, void *data)
......@@ -15,7 +15,6 @@
#if defined(DEBUG)
void initThreadLabelTable (void);
void freeThreadLabelTable (void);
void updateThreadLabel (StgWord key, void *data);
void * lookupThreadLabel (StgWord key);
void removeThreadLabel (StgWord key);
void labelThread (StgPtr tso, char *label);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment