Fix create/destroy mismatch

Change-Id: Ibff6caedae0c5ed84cf4864c7a52af56a7cea527
This commit is contained in:
Stephan Bergmann
2015-11-03 08:48:10 +01:00
parent f72ddbb442
commit 84eeebd750

View File

@@ -129,8 +129,8 @@ OTextInputStream::~OTextInputStream()
{
if( mbEncodingInitialized )
{
rtl_destroyUnicodeToTextContext( mConvText2Unicode, mContextText2Unicode );
rtl_destroyUnicodeToTextConverter( mConvText2Unicode );
rtl_destroyTextToUnicodeContext( mConvText2Unicode, mContextText2Unicode );
rtl_destroyTextToUnicodeConverter( mConvText2Unicode );
}
delete[] mpBuffer;