aboutsummaryrefslogtreecommitdiffstats
path: root/com32/lib/free.c
diff options
context:
space:
mode:
Diffstat (limited to 'com32/lib/free.c')
-rw-r--r--com32/lib/free.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/com32/lib/free.c b/com32/lib/free.c
index 0cf874b4..437a8fc0 100644
--- a/com32/lib/free.c
+++ b/com32/lib/free.c
@@ -31,6 +31,7 @@ __free_block(struct free_arena_header *ah)
} else {
/* Need to add this block to the free chain */
ARENA_TYPE_SET(ah->a.attrs, ARENA_TYPE_FREE);
+ ah->a.tag = NULL;
ah->next_free = __malloc_head.next_free;
ah->prev_free = &__malloc_head;