merge from gd sources: unlock mutex before shuting it down

This commit is contained in:
Nuno Lopes 2007-03-01 18:39:49 +00:00
parent acd14f802c
commit e5c4b50127

View File

@ -721,6 +721,7 @@ void gdFontCacheShutdown()
gdMutexLock(gdFontCacheMutex);
gdCacheDelete(fontCache);
fontCache = NULL;
gdMutexUnlock(gdFontCacheMutex);
gdMutexShutdown(gdFontCacheMutex);
FT_Done_FreeType(library);
}