diff options
author | tarui <tarui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-12-13 16:19:49 +0000 |
---|---|---|
committer | tarui <tarui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-12-13 16:19:49 +0000 |
commit | 71286e3770b86a11f554ee1eacd13e30dd47bd08 (patch) | |
tree | 9444a32f021df75fcf7542a4872cf43e0e43cd0c /gc.c | |
parent | 4fd53e476e493630a140edc085c71f2670d74942 (diff) | |
download | ruby-71286e3770b86a11f554ee1eacd13e30dd47bd08.tar.gz |
* 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
Diffstat (limited to 'gc.c')
-rw-r--r-- | gc.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; } |