Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

TTF: reset library to NULL after destroying

prevents a potential crash on exit
  • Loading branch information...
commit f0161c045fbcf715a7238d6b9e97101df830f7fe 1 parent d08c7d5
@bradallred bradallred authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  gemrb/plugins/TTFImporter/TTFFontManager.cpp
View
1  gemrb/plugins/TTFImporter/TTFFontManager.cpp
@@ -39,6 +39,7 @@ void destroyFT()
{
if (library) {
FT_Done_FreeType( library );
+ library = NULL;
}
}

0 comments on commit f0161c0

Please sign in to comment.
Something went wrong with that request. Please try again.