aboutsummaryrefslogtreecommitdiffstats
path: root/com32/lib/malloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'com32/lib/malloc.c')
-rw-r--r--com32/lib/malloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/lib/malloc.c b/com32/lib/malloc.c
index 4b113221..ff6e5b9e 100644
--- a/com32/lib/malloc.c
+++ b/com32/lib/malloc.c
@@ -64,7 +64,7 @@ static int consider_memory_area(void *dummy, addr_t start,
if (len >= 2 * sizeof(struct arena_header)) {
fp = (struct free_arena_header *)start;
- fp->a.size = len;
+ ARENA_SIZE_SET(fp->a.attrs, len);
__inject_free_block(fp);
}
}