diff options
author | Simon Marlow <marlowsd@gmail.com> | 2010-08-24 11:26:06 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2010-08-24 11:26:06 +0000 |
commit | da6d48859824bfcf5339a233412fd704bc75ad18 (patch) | |
tree | ff0ecc30f0f90b90b59481ad5f56840e7667fe02 /rts/ThreadLabels.c | |
parent | 9eba9078e1993db58b8e12e9287f448df64a4fb6 (diff) | |
download | haskell-da6d48859824bfcf5339a233412fd704bc75ad18.tar.gz |
free the entries in the thread label table on exit
Diffstat (limited to 'rts/ThreadLabels.c')
-rw-r--r-- | rts/ThreadLabels.c | 4 |
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); |