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 | cbf902fc3308290383c8c5e926bf684a23778719 (patch) | |
tree | dc15beb24155ca79411233af59b3b96154032a88 /test/webrick | |
parent | 828de1a06d556d2f1f657f948f9d33a562957fba (diff) | |
download | ruby-cbf902fc3308290383c8c5e926bf684a23778719.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 'test/webrick')
0 files changed, 0 insertions, 0 deletions