(trunk libT) fix memory leak in tr_utf8clean()'s utility function to_utf8()

This commit is contained in:
Jordan Lee
2011-03-28 03:45:31 +00:00
parent 7a7636a872
commit 6c845ba5f4

View File

@@ -1252,6 +1252,8 @@ to_utf8( const char * in, size_t inlen )
iconv_close( cd );
}
}
tr_free( out );
#endif
if( ret == NULL )