diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-05-28 07:17:42 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-05-28 07:17:42 +0000 |
commit | 60b0c53ea28606e2d0e2c7ab22978792a4f52189 (patch) | |
tree | dc15beb24155ca79411233af59b3b96154032a88 /proc.c | |
parent | 52c0280a74fc06b2e596556d7f957afd80648fa2 (diff) | |
download | ruby-60b0c53ea28606e2d0e2c7ab22978792a4f52189.tar.gz |
parser.rl: allocate structs with wrapper
* ext/json/parser/parser.rl (cJSON_parser_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@50660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'proc.c')
0 files changed, 0 insertions, 0 deletions