Fixed memory leaks.

This commit is contained in:
crs
2003-02-16 19:49:44 +00:00
parent 57ba0cb660
commit 3351a66f51
4 changed files with 20 additions and 4 deletions

View File

@@ -406,6 +406,7 @@ CUnicode::textToUTF8(const CString& src, bool* errors)
// clean up
delete[] wcs;
ARCH->closeMBState(state);
return utf8;
}