free the gc_thread structures during shutdown
[ghc-hetmet.git] / rts / sm / Storage.c
index 9320232..d14e588 100644 (file)
@@ -284,6 +284,7 @@ freeStorage (void)
     closeMutex(&sm_mutex);
 #endif
     stgFree(nurseries);
+    freeGcThreads();
 }
 
 /* -----------------------------------------------------------------------------