1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* io.c (argf_free): free data body.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2009-07-15 23:55:21 +00:00
parent c330876d7c
commit 0d2449bd35
2 changed files with 6 additions and 1 deletions

View file

@ -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

3
io.c
View file

@ -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