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

* ext/dl/sym.c (rb_dlsym_call): needs FREE_ARGS before return.

fixed memory leak. [ruby-Bugs-2034]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ocean 2005-06-15 23:39:27 +00:00
parent f67c74acd7
commit ad0f7f889b
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
Thu Jun 16 08:29:22 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
* ext/dl/sym.c (rb_dlsym_call): needs FREE_ARGS before return.
fixed memory leak. [ruby-Bugs-2034]
Wed Jun 15 18:26:39 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
* ext/tk/lib/tk.rb: support "tk inactive" sub-command [for Tcl/Tk8.5a3]

View file

@ -941,6 +941,7 @@ rb_dlsym_call(int argc, VALUE argv[], VALUE self)
}
}
FREE_ARGS;
#undef FREE_ARGS
return rb_assoc_new(val,dvals);
}