mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/psych/parser.c (parse): release event objects to plug memory
leak. Thanks Mark J. Titorenko! git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ecaf7975cd
commit
6c56c40b44
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Mon Jun 6 09:39:43 2011 Aaron Patterson <aaron@tenderlovemaking.com>
|
||||||
|
|
||||||
|
* ext/psych/parser.c (parse): release event objects to plug memory
|
||||||
|
leak. Thanks Mark J. Titorenko!
|
||||||
|
|
||||||
Sun Jun 5 23:26:15 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
Sun Jun 5 23:26:15 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||||
|
|
||||||
* eval.c: remove rb_thread_stop_timer_thread function declaration.
|
* eval.c: remove rb_thread_stop_timer_thread function declaration.
|
||||||
|
|
|
@ -304,6 +304,7 @@ static VALUE parse(VALUE self, VALUE yaml)
|
||||||
done = 1;
|
done = 1;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
yaml_event_delete(&event);
|
||||||
}
|
}
|
||||||
|
|
||||||
return self;
|
return self;
|
||||||
|
|
Loading…
Reference in a new issue