mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/syck/yaml2byte.c (syck_yaml2byte_handler): need to free
type_tag. a patch from Pat Eyler <rubypate at gmail.com>. [ruby-core:07808] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5f78b3d2fa
commit
a7f999b68e
2 changed files with 5 additions and 0 deletions
|
@ -7,6 +7,10 @@ Thu May 4 02:24:16 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
* array.c (rb_ary_fill): initialize local variables first. a
|
* array.c (rb_ary_fill): initialize local variables first. a
|
||||||
patch from Pat Eyler <rubypate at gmail.com>. [ruby-core:07810]
|
patch from Pat Eyler <rubypate at gmail.com>. [ruby-core:07810]
|
||||||
|
|
||||||
|
* ext/syck/yaml2byte.c (syck_yaml2byte_handler): need to free
|
||||||
|
type_tag. a patch from Pat Eyler <rubypate at gmail.com>.
|
||||||
|
[ruby-core:07808]
|
||||||
|
|
||||||
Wed May 3 02:12:07 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
|
Wed May 3 02:12:07 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
* ext/socket/socket.c (make_hostent_internal): accept ai_family
|
* ext/socket/socket.c (make_hostent_internal): accept ai_family
|
||||||
|
|
|
@ -145,6 +145,7 @@ syck_yaml2byte_handler(p, n)
|
||||||
strcat( type_tag, "!" );
|
strcat( type_tag, "!" );
|
||||||
strcat( type_tag, n->type_id );
|
strcat( type_tag, n->type_id );
|
||||||
bytestring_append( val, YAMLBYTE_TRANSFER, type_tag, NULL);
|
bytestring_append( val, YAMLBYTE_TRANSFER, type_tag, NULL);
|
||||||
|
S_FREE(type_tag);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
switch (n->kind)
|
switch (n->kind)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue