aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--io.c3
2 files changed, 6 insertions, 1 deletions
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 <ko1@atdot.net>
+
+ * io.c (argf_free): free data body.
+
Wed Jul 15 23:46:55 2009 Koichi Sasada <ko1@atdot.net>
* 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