mirror of
https://github.com/php/php-src.git
synced 2024-09-22 18:37:25 +00:00
merge from gd sources: unlock mutex before shuting it down
This commit is contained in:
parent
acd14f802c
commit
e5c4b50127
@ -721,6 +721,7 @@ void gdFontCacheShutdown()
|
||||
gdMutexLock(gdFontCacheMutex);
|
||||
gdCacheDelete(fontCache);
|
||||
fontCache = NULL;
|
||||
gdMutexUnlock(gdFontCacheMutex);
|
||||
gdMutexShutdown(gdFontCacheMutex);
|
||||
FT_Done_FreeType(library);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user