mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/syck/implicit.c (syck_type_id_to_uri): should return
newly allocated memory. otherwise, type_id will be freed twice. [ruby-dev:27384] [ruby-core:6385] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c3da3df2f6
commit
f44333cbff
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
Wed Oct 26 09:15:48 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
|
||||
|
||||
* ext/syck/implicit.c (syck_type_id_to_uri): should return
|
||||
newly allocated memory. otherwise, type_id will be freed
|
||||
twice. [ruby-dev:27384] [ruby-core:6385]
|
||||
|
||||
Wed Oct 26 01:58:19 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* configure.in (RUBY_EXTERN): macro to export symbols in shared
|
||||
|
|
|
@ -2481,7 +2481,7 @@ yy244: ++YYCURSOR;
|
|||
goto yy245;
|
||||
yy245:
|
||||
#line 174 "implicit.re"
|
||||
{ return type_id; }
|
||||
{ return syck_strndup( type_id, strlen( type_id ) ); }
|
||||
#line 2485 "<stdout>"
|
||||
yy246: yych = *++YYCURSOR;
|
||||
switch(yych){
|
||||
|
@ -2928,7 +2928,7 @@ yy264: ++YYCURSOR;
|
|||
goto yy265;
|
||||
yy265:
|
||||
#line 172 "implicit.re"
|
||||
{ return type_id; }
|
||||
{ return syck_strndup( type_id, strlen( type_id ) ); }
|
||||
#line 2932 "<stdout>"
|
||||
yy266: yych = *++YYCURSOR;
|
||||
switch(yych){
|
||||
|
|
Loading…
Add table
Reference in a new issue