Skip to content

Commit

Permalink
Free the rtl_UnicodeToTextContext with rtl_destroyTextToUnicodeContex…
Browse files Browse the repository at this point in the history
…t() instead of rtl_destroyTextToUnicodeConverter().

This fixes
https://bz.apache.org/ooo/show_bug.cgi?id=128539

Patch by: me
  • Loading branch information
Damjan Jovanovic committed Oct 21, 2022
1 parent 82b311e commit fb3d764
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/vcl/source/gdi/impfont.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fb3d764

Please sign in to comment.