Change contract of krb5int_utf8_normalize and fix memory leaks
authorGreg Hudson <ghudson@mit.edu>
Mon, 9 Feb 2009 18:35:19 +0000 (18:35 +0000)
committerGreg Hudson <ghudson@mit.edu>
Mon, 9 Feb 2009 18:35:19 +0000 (18:35 +0000)
commit55b0a87cc5cdc89719a048507c75a6fe0bf1caf3
treebc9529650aecf4bea4e68ba6d3e146f3ec753692
parentd1f85bcdc2b22b5fa35dac780bfd3ba57da33c25
Change contract of krb5int_utf8_normalize and fix memory leaks

Make krb5int_utf8_normalize return a krb5_error_code and always allocate
a structure to be placed in the output parameter.  Adjust the function
structure to use a cleanup handler, fixing many memory leaks.

ticket: 6378
tags: pullup
target_version: 1.7

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21923 dc483132-0cff-0310-8789-dd5450dbe970
src/include/k5-unicode.h
src/lib/krb5/error_tables/krb5_err.et
src/lib/krb5/unicode/ucstr.c