diff options
Diffstat (limited to 'boehm-gc/malloc.c')
-rw-r--r-- | boehm-gc/malloc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/boehm-gc/malloc.c b/boehm-gc/malloc.c index 66e62d29694..a5a93ad8119 100644 --- a/boehm-gc/malloc.c +++ b/boehm-gc/malloc.c @@ -81,6 +81,10 @@ register ptr_t *opp; /* but that's benign. */ /* Volatile declarations may need to be added */ /* to prevent the compiler from breaking things.*/ + /* If we only execute the second of the */ + /* following assignments, we lose the free */ + /* list, but that should still be OK, at least */ + /* for garbage collected memory. */ *opp = obj_link(op); obj_link(op) = 0; } else { |