Make allocatePinned use local storage, and other refactorings
[ghc-hetmet.git] / rts / Capability.c
index 95050ba..0012c24 100644 (file)
@@ -253,6 +253,7 @@ initCapability( Capability *cap, nat i )
     cap->free_trec_headers = NO_TREC;
     cap->transaction_tokens = 0;
     cap->context_switch = 0;
+    cap->pinned_object_block = NULL;
 }
 
 /* ---------------------------------------------------------------------------