Fix memory leak from #12664
[ghc.git] / rts / Weak.h
index 7892277..fbdf18a 100644 (file)
@@ -14,7 +14,7 @@
 #include "BeginPrivate.h"
 
 extern rtsBool running_finalizers;
-extern StgWeak * weak_ptr_list;
+extern StgWeak * dead_weak_ptr_list;
 
 void runCFinalizers(StgCFinalizerList *list);
 void runAllCFinalizers(StgWeak *w);