ruby-changes:18035
From: naruse <ko1@a...>
Date: Fri, 3 Dec 2010 02:40:18 +0900 (JST)
Subject: [ruby-changes:18035] Ruby:r30056 (trunk): * encoding.c (enc_alias_internal): use xfree instead of free.
naruse 2010-12-03 02:40:10 +0900 (Fri, 03 Dec 2010) New Revision: 30056 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=30056 Log: * encoding.c (enc_alias_internal): use xfree instead of free. Modified files: trunk/ChangeLog trunk/encoding.c Index: encoding.c =================================================================== --- encoding.c (revision 30055) +++ encoding.c (revision 30056) @@ -445,7 +445,7 @@ { char *name = strdup(alias); if (st_insert(enc_table.names, (st_data_t)name, (st_data_t)idx)) { - free(name); + xfree(name); return NULL; } return name; Index: ChangeLog =================================================================== --- ChangeLog (revision 30055) +++ ChangeLog (revision 30056) @@ -1,3 +1,7 @@ +Fri Dec 3 01:52:43 2010 NARUSE, Yui <naruse@r...> + + * encoding.c (enc_alias_internal): use xfree instead of free. + Thu Dec 2 23:52:26 2010 URABE Shyouhei <shyouhei@r...> * NEWS: entry for ruby_vm_at_exit(). -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/