From 4e196af17c334de1eb74f7bb036fec12a35b794e Mon Sep 17 00:00:00 2001 From: Jean Boussier Date: Sun, 1 Feb 2026 21:19:10 +0100 Subject: Use ruby_sized_xfree --- box.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'box.c') 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 -- cgit v1.2.3