summaryrefslogtreecommitdiff
path: root/stm/malloc0.c
diff options
context:
space:
mode:
Diffstat (limited to 'stm/malloc0.c')
-rw-r--r--stm/malloc0.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/stm/malloc0.c b/stm/malloc0.c
index 686dfbf4b..8827e82a8 100644
--- a/stm/malloc0.c
+++ b/stm/malloc0.c
@@ -42,6 +42,7 @@ void *malloc(size_t n) {
}
void free(void *ptr) {
+ gc_free(ptr);
}
void *realloc(void *ptr, size_t n) {