summaryrefslogtreecommitdiff
path: root/rts/sm/Compact.c
diff options
context:
space:
mode:
Diffstat (limited to 'rts/sm/Compact.c')
-rw-r--r--rts/sm/Compact.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/rts/sm/Compact.c b/rts/sm/Compact.c
index 3e71c30d35..53d27a8e68 100644
--- a/rts/sm/Compact.c
+++ b/rts/sm/Compact.c
@@ -470,6 +470,10 @@ thread_TSO (StgTSO *tso)
thread_(&tso->trec);
+ if (tso->label != NULL) {
+ thread_((StgClosure **)&tso->label);
+ }
+
thread_(&tso->stackobj);
return (P_)tso + sizeofW(StgTSO);
}