1
0
Fork 0
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:
matz 2006-05-03 17:41:11 +00:00
parent 5f78b3d2fa
commit a7f999b68e
2 changed files with 5 additions and 0 deletions

View file

@ -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
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>
* ext/socket/socket.c (make_hostent_internal): accept ai_family

View file

@ -145,6 +145,7 @@ syck_yaml2byte_handler(p, n)
strcat( type_tag, "!" );
strcat( type_tag, n->type_id );
bytestring_append( val, YAMLBYTE_TRANSFER, type_tag, NULL);
S_FREE(type_tag);
}
}
switch (n->kind)