summaryrefslogtreecommitdiff
path: root/malloc.c
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2011-07-26 15:36:22 +0400
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 15:36:22 +0400
commit29be14a4aa2f73bf89396e50e5f5322fa9264b00 (patch)
tree85fb9a7aa0e14ef35f73be40b00e0aedcb37cf96 /malloc.c
parente955362cfcef47fdc3ad2140f50ea4638fd86a4d (diff)
downloadbdwgc-29be14a4aa2f73bf89396e50e5f5322fa9264b00.tar.gz
gc5.3 tarball importgc5_3
Diffstat (limited to 'malloc.c')
-rw-r--r--malloc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/malloc.c b/malloc.c
index 66e62d29..a5a93ad8 100644
--- a/malloc.c
+++ b/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 {