From 55f9cc806df9d9f58917992e35e9c0ecf20e455e Mon Sep 17 00:00:00 2001 From: naruse Date: Sat, 20 Sep 2008 17:54:46 +0000 Subject: * ext/json/ext/parser/parse.c: use ruby_xfree(). * ext/json/ext/parser/parse.rl: ditto. * ext/json/ext/parser/unicode.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/json/ext/parser/parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/json/ext/parser/parser.c') diff --git a/ext/json/ext/parser/parser.c b/ext/json/ext/parser/parser.c index f2bedebea9..fe85b26cee 100644 --- a/ext/json/ext/parser/parser.c +++ b/ext/json/ext/parser/parser.c @@ -1708,7 +1708,7 @@ static void JSON_mark(JSON_Parser *json) static void JSON_free(JSON_Parser *json) { - free(json); + ruby_xfree(json); } static VALUE cJSON_parser_s_allocate(VALUE klass) -- cgit v1.2.3