summaryrefslogtreecommitdiff
path: root/box.c
diff options
context:
space:
mode:
Diffstat (limited to 'box.c')
-rw-r--r--box.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/box.c b/box.c
index 830172cdd5..bfb6f51346 100644
--- a/box.c
+++ b/box.c
@@ -271,7 +271,7 @@ box_entry_free(void *ptr)
cleanup_all_local_extensions(box->ruby_dln_libmap);
box_root_free(ptr);
- xfree(ptr);
+ SIZED_FREE(box);
}
static size_t