Project

General

Profile

« Previous | Next » 

Revision 262cb379

Added by shirosaki over 11 years ago

st_update passes the key in st_table

  • st.c (st_update): pass the key in st_table so that we can free
    memory of the key in st_table when deleting.
    [ruby-core:49220] [Bug #7330]

  • test/-ext-/st/test_update.rb
    (Bug::StTable#test_pass_objects_in_st_table): add a test.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e