diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-05-28 07:17:55 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-05-28 07:17:55 +0000 |
commit | 4d059bf9f5f10f3d3088de49fc87e5555db7770d (patch) | |
tree | b30523e0cfc87534bbb6cd19e218e14fbf4e3611 /version.c | |
parent | cbf902fc3308290383c8c5e926bf684a23778719 (diff) | |
download | ruby-4d059bf9f5f10f3d3088de49fc87e5555db7770d.tar.gz |
generator.c: allocate structs with wrapper
* ext/json/generator/generator.c (cState_s_allocate): allocate
structs with making new wrapper objects and get rid of potential
memory leak.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'version.c')
0 files changed, 0 insertions, 0 deletions