commit | 9b4866d3438f42fb2c0df788989261afe72bf713 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Thu Jun 03 15:58:26 2010 -0700 |
committer | Elliott Hughes <enh@google.com> | Thu Jun 03 15:58:26 2010 -0700 |
tree | 6e8c08a024cb89168f2b504666e2f6c7b311e336 | |
parent | 975da1d1cb895e33a105f3f950f3598767ca99fa [diff] |
Simplify our use of ucnv_close. ucnv_close -- like most modern "free" APIs -- ignores NULL. It also calls each callback giving it a convenient opportunity to clean up, which lets us get rid of some particularly nasty code that was trying to do the cleanup forcibly from outside. Change-Id: I77ccf37235a222f38d897516d1226a026d8cc50b