mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 21:14:23 +02:00
* gc.c (wmap_final_func): Bugfix. Should update *value to new pointer.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4fd53e476e
commit
71286e3770
2 changed files with 5 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
Sat Dec 14 01:15:51 2013 Masaya Tarui <tarui@ruby-lang.org>
|
||||
|
||||
* gc.c (wmap_final_func): Bugfix. Should update *value to new pointer.
|
||||
|
||||
Sat Dec 14 01:05:46 2013 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* ext/socket/lib/socket.rb: Don't test $! in "ensure" clause because
|
||||
|
|
1
gc.c
1
gc.c
|
@ -6330,6 +6330,7 @@ wmap_final_func(st_data_t *key, st_data_t *value, st_data_t arg, int existing)
|
|||
if (j < i) {
|
||||
ptr = ruby_sized_xrealloc2(ptr, j, sizeof(VALUE), i);
|
||||
ptr[0] = j;
|
||||
*value = (st_data_t)ptr;
|
||||
}
|
||||
return ST_CONTINUE;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue