diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-12-02 12:28:42 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-12-02 12:28:42 +0000 |
commit | 260e8ce6370f2c415d707728ffa249cf92707665 (patch) | |
tree | 907224cdc237ac1e3bad4d0b934028630e07683e /ext/json/lib/json/add | |
parent | 51da92ea1216e9d5139d03308618def2f9d4746a (diff) |
* encoding.c (enc_alias_internal): free the copied key and
return NULL when given key is already regisitered.
* encoding.c (enc_alias): call set_encoding_const only when the
alias is not registered yet.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/json/lib/json/add')
0 files changed, 0 insertions, 0 deletions