1
0
Fork 0
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:
tenderlove 2011-06-06 00:41:24 +00:00
parent ecaf7975cd
commit 6c56c40b44
2 changed files with 6 additions and 0 deletions

View file

@ -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>
* eval.c: remove rb_thread_stop_timer_thread function declaration.

View file

@ -304,6 +304,7 @@ static VALUE parse(VALUE self, VALUE yaml)
done = 1;
break;
}
yaml_event_delete(&event);
}
return self;