cvs: gd(GD_2_0) /libgd gdft.c

From: Date: Mon, 26 Feb 2007 19:58:42 +0000
Subject: cvs: gd(GD_2_0) /libgd gdft.c
Groups: php.gd.cvs 
Request: Send a blank email to php-gd-cvs+get-127@lists.php.net to get a copy of this message
pajoye Mon Feb 26 19:58:42 2007 UTC Modified files: (Branch: GD_2_0) /gd/libgd gdft.c Log: - #48, Race condition in gdImageStringFTEx it is safe to destroy an unlocked mutex, not a locked one (Nuno Lopes) http://cvs.php.net/viewvc.cgi/gd/libgd/gdft.c?r1=1.28.2.3&r2=1.28.2.4&diff_format=u Index: gd/libgd/gdft.c diff -u gd/libgd/gdft.c:1.28.2.3 gd/libgd/gdft.c:1.28.2.4 --- gd/libgd/gdft.c:1.28.2.3 Mon Feb 26 19:30:42 2007 +++ gd/libgd/gdft.c Mon Feb 26 19:58:42 2007 @@ -800,6 +800,7 @@ gdCacheDelete (fontCache); /* 2.0.16: Gustavo Scotti: make sure we don't free this twice */ fontCache = 0; + gdMutexUnlock(gdFontCacheMutex); gdMutexShutdown (gdFontCacheMutex); FT_Done_FreeType (library); }

« previous php.gd.cvs (#127) next »