summaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-07-15 23:55:21 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-07-15 23:55:21 +0000
commit6a8c02a46ddf3979406ef77b3b6475fb8d3f49d3 (patch)
tree054595a031ed5fb6580cefbf7c43e697cdd7aef7 /io.c
parentdfefbcad5fbda9d28dacd83a34b08b682ec58152 (diff)
downloadruby-6a8c02a46ddf3979406ef77b3b6475fb8d3f49d3.tar.gz
ruby-6a8c02a46ddf3979406ef77b3b6475fb8d3f49d3.tar.xz
ruby-6a8c02a46ddf3979406ef77b3b6475fb8d3f49d3.zip
* io.c (argf_free): free data body.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r--io.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/io.c b/io.c
index 4e576e710..9720145fc 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