mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
![]() NULL or not before S_FREE. * ext/syck/rubyext.c (syck_parser_assign_io): rb_check_string_type can return new RString. if so, it becomes unreachable from GC after returns syck_parser_assign_io, and can be freed by GC. (dangling in syck io system) so extends its life time till syck_parse is called. * ext/syck/rubyext.c (syck_parser_s_alloc): always allocates bonus, so no need to check if NULL, and "volatile VALUE hash" is not needed. (bonus->port was not protected in syck_emitter_reset) * ext/syck/rubyext.c (syck_mark_parser): ditto. * ext/syck/rubyext.c (syck_parser_load): ditto. * ext/syck/rubyext.c (syck_parser_load_documents): ditto. * ext/syck/rubyext.c (syck_emitter_s_alloc): ditto. * ext/syck/rubyext.c (syck_mark_emitter): ditto. * ext/syck/rubyext.c (syck_emitter_reset): ditto. * ext/syck/rubyext.c (syck_scalar_value_set): "should set newly allocated memory instead of RString's internal storage" stuff again. by this, should call syck_free_node instead of rb_syck_free_node. * ext/syck/rubyext.c (syck_node_type_id_set): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
||
---|---|---|
.. | ||
bigdecimal | ||
curses | ||
dbm | ||
digest | ||
dl | ||
etc | ||
fcntl | ||
gdbm | ||
iconv | ||
io/wait | ||
nkf | ||
openssl | ||
pty | ||
racc/cparse | ||
readline | ||
ripper | ||
sdbm | ||
socket | ||
stringio | ||
strscan | ||
syck | ||
syslog | ||
tk | ||
Win32API | ||
win32ole | ||
zlib | ||
.cvsignore | ||
.document | ||
extmk.rb | ||
Setup | ||
Setup.atheos | ||
Setup.dj | ||
Setup.emx | ||
Setup.nt | ||
Setup.x68 |