diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-05-28 07:17:42 +0000 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2015-05-28 16:19:43 +0900 |
commit | 6020ec8585cb0ee9d5b0166b27fa53ca1170653e (patch) | |
tree | 7725f0b50f536ac40cf05d70b481df8cb10ab20d /ext/json/ext/generator/generator.h | |
parent | 638a1f782a5539281df39969d817cd7b55dd53f5 (diff) | |
download | json-6020ec8585cb0ee9d5b0166b27fa53ca1170653e.tar.gz |
parser.rl: allocate structs with wrapper
* ext/json/ext/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 'ext/json/ext/generator/generator.h')
0 files changed, 0 insertions, 0 deletions