Project

General

Profile

« Previous | Next » 

Revision cbf902fc

Added by nobu (Nobuyoshi Nakada) about 10 years ago

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