summaryrefslogtreecommitdiff
path: root/c/zone.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/zone.c')
-rw-r--r--c/zone.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/zone.c b/c/zone.c
index a41bb44..ccd702d 100644
--- a/c/zone.c
+++ b/c/zone.c
@@ -41,7 +41,7 @@ void msgpack_zone_free(msgpack_zone* z)
if(z->array) {
size_t i;
for(i=0; i <= z->ntail; ++i) {
- free(z->array[i].ptr);
+ free(z->array[i].alloc);
}
}
free(z);