aboutsummaryrefslogtreecommitdiffstats
path: root/test/objspace
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-05-28 07:17:55 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-05-28 07:17:55 +0000
commit2bb2310fe51e9ef9c09029a24e3f62f23e0db36a (patch)
treeb30523e0cfc87534bbb6cd19e218e14fbf4e3611 /test/objspace
parent60b0c53ea28606e2d0e2c7ab22978792a4f52189 (diff)
downloadruby-2bb2310fe51e9ef9c09029a24e3f62f23e0db36a.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 'test/objspace')
0 files changed, 0 insertions, 0 deletions