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

* parse.y (special_local_set): prevent the parser object from GC.

fixed: [ruby-dev:25252]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2004-12-20 01:52:06 +00:00
parent ce1fce4a4c
commit 9a6c901fc4
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Mon Dec 20 10:51:58 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
* parse.y (special_local_set): prevent the parser object from GC.
fixed: [ruby-dev:25252]
Mon Dec 20 03:30:40 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/cgi/session.rb (CGI::Session#initialize): empty session id was

View file

@ -8098,6 +8098,7 @@ special_local_set(c, val)
{
int cnt;
struct parser_params *parser = parser_new();
volatile VALUE p = parser->value;
top_local_init();
cnt = local_cnt(c);