about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--mahoro.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mahoro.c b/mahoro.c
index 2ee9953..49e3e45 100644
--- a/mahoro.c
+++ b/mahoro.c
@@ -22,7 +22,7 @@ mahoro_free(ptr)
         struct MagicCookie *ptr;
 {
         magic_close(ptr->cookie);
-        free(ptr);
+        xfree(ptr);
 }
 
 static VALUE