You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ms...@apache.org on 2022/10/22 11:41:50 UTC
[openoffice] branch AOO41X updated: Free the rtl_UnicodeToTextContext with rtl_destroyTextToUnicodeContext() instead of rtl_destroyTextToUnicodeConverter().
This is an automated email from the ASF dual-hosted git repository.
mseidel pushed a commit to branch AOO41X
in repository https://gitbox.apache.org/repos/asf/openoffice.git
The following commit(s) were added to refs/heads/AOO41X by this push:
new ff5c5583f4 Free the rtl_UnicodeToTextContext with rtl_destroyTextToUnicodeContext() instead of rtl_destroyTextToUnicodeConverter().
ff5c5583f4 is described below
commit ff5c5583f464f22544a26624762eff87e1fd14a2
Author: Damjan Jovanovic <da...@apache.org>
AuthorDate: Fri Oct 21 03:23:20 2022 +0200
Free the rtl_UnicodeToTextContext with rtl_destroyTextToUnicodeContext() instead of rtl_destroyTextToUnicodeConverter().
This fixes
https://bz.apache.org/ooo/show_bug.cgi?id=128539
Patch by: me
(cherry picked from commit fb3d7646562a8e2f3f690b2fdbc7faaa1b30aa42)
---
main/vcl/source/gdi/impfont.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/main/vcl/source/gdi/impfont.cxx b/main/vcl/source/gdi/impfont.cxx
index a1ae47ebac..af32eef36a 100644
--- a/main/vcl/source/gdi/impfont.cxx
+++ b/main/vcl/source/gdi/impfont.cxx
@@ -550,7 +550,7 @@ bool ParseCMAP( const unsigned char* pCmap, int nLength, CmapResult& rResult )
}
}
- rtl_destroyTextToUnicodeConverter( aCvtContext );
+ rtl_destroyTextToUnicodeContext( aConverter, aCvtContext );
rtl_destroyTextToUnicodeConverter( aConverter );
// convert the set of supported unicodes to ranges