summaryrefslogtreecommitdiff
path: root/rts/ThreadLabels.c
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2010-08-24 11:26:06 +0000
committerSimon Marlow <marlowsd@gmail.com>2010-08-24 11:26:06 +0000
commitda6d48859824bfcf5339a233412fd704bc75ad18 (patch)
treeff0ecc30f0f90b90b59481ad5f56840e7667fe02 /rts/ThreadLabels.c
parent9eba9078e1993db58b8e12e9287f448df64a4fb6 (diff)
downloadhaskell-da6d48859824bfcf5339a233412fd704bc75ad18.tar.gz
free the entries in the thread label table on exit
Diffstat (limited to 'rts/ThreadLabels.c')
-rw-r--r--rts/ThreadLabels.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rts/ThreadLabels.c b/rts/ThreadLabels.c
index aa620f0b9e..6d2a5d641d 100644
--- a/rts/ThreadLabels.c
+++ b/rts/ThreadLabels.c
@@ -33,12 +33,12 @@ void
freeThreadLabelTable(void)
{
if (threadLabels != NULL) {
- freeHashTable(threadLabels, NULL);
+ freeHashTable(threadLabels, stgFree);
threadLabels = NULL;
}
}
-void
+static void
updateThreadLabel(StgWord key, void *data)
{
removeThreadLabel(key);