diff options
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | ext/dl/sym.c | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -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] diff --git a/ext/dl/sym.c b/ext/dl/sym.c index 59a618496..40b2035c0 100644 --- a/ext/dl/sym.c +++ b/ext/dl/sym.c @@ -941,6 +941,7 @@ rb_dlsym_call(int argc, VALUE argv[], VALUE self) } } + FREE_ARGS; #undef FREE_ARGS return rb_assoc_new(val,dvals); } |
