mirror of
https://github.com/debauchee/barrier.git
synced 2026-11-26 05:42:24 +08:00
Fixed memory leaks.
This commit is contained in:
@@ -406,6 +406,7 @@ CUnicode::textToUTF8(const CString& src, bool* errors)
|
||||
|
||||
// clean up
|
||||
delete[] wcs;
|
||||
ARCH->closeMBState(state);
|
||||
|
||||
return utf8;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user