diff --git a/ChangeLog b/ChangeLog index e89536bbd8..1c0d58eaf9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Thu Jul 16 08:53:26 2009 Koichi Sasada + + * io.c (argf_free): free data body. + Wed Jul 15 23:46:55 2009 Koichi Sasada * method.h, vm_core.h: add rb_method_entry_t. Remove nodes around diff --git a/io.c b/io.c index 4e576e710e..9720145fc1 100644 --- a/io.c +++ b/io.c @@ -6479,7 +6479,8 @@ static void argf_free(void *ptr) { struct argf *p = ptr; - free(p->inplace); + xfree(p->inplace); + xfree(p); } static inline void