projects
/
cacao.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02bf2fa
)
heap_close bug fixed
author
cacao
<none@none>
Mon, 16 Nov 1998 20:56:13 +0000
(20:56 +0000)
committer
cacao
<none@none>
Mon, 16 Nov 1998 20:56:13 +0000
(20:56 +0000)
mm/heap.old.c
patch
|
blob
|
history
diff --git
a/mm/heap.old.c
b/mm/heap.old.c
index adf10935b9670d5528943e0cdd60ca79aec0ef6c..a9172740b36cd429918ffda9e9141272b767457a 100644
(file)
--- a/
mm/heap.old.c
+++ b/
mm/heap.old.c
@@
-799,7
+799,8
@@
void heap_close ()
MFREE (startbits, bitfieldtype, heapsize/BITFIELDBITS);
MFREE (markbits, bitfieldtype, heapsize/BITFIELDBITS);
MFREE (referencebits, bitfieldtype, heapsize/BITFIELDBITS);
- chain_free (allglobalreferences);
+ if (allglobalreferences != NULL)
+ chain_free (allglobalreferences);
}