cvs: gd(GD_2_0) /libgd gdft.c

[email protected] ("Pierre-Alain Joye")
Newsgroups php.gd.cvs
Message-ID <cvspajoye1175618291@cvsserver>
pajoye		Tue Apr  3 16:38:11 2007 UTC

  Modified files:              (Branch: GD_2_0)
    /gd/libgd	gdft.c 
  Log:
  - we already lock it earlier, prevent deadlock/double lock
  
  
http://cvs.php.net/viewvc.cgi/gd/libgd/gdft.c?r1=1.28.2.5&r2=1.28.2.6&diff_format=u
Index: gd/libgd/gdft.c
diff -u gd/libgd/gdft.c:1.28.2.5 gd/libgd/gdft.c:1.28.2.6
--- gd/libgd/gdft.c:1.28.2.5	Sun Apr  1 20:41:01 2007
+++ gd/libgd/gdft.c	Tue Apr  3 16:38:11 2007
@@ -777,10 +777,8 @@
 	      /* find antialised color */
 
 	      tc_key.bgcolor = *pixel;
-				gdMutexLock(gdFontCacheMutex);
 	      tc_elem = (tweencolor_t *) gdCacheGet (tc_cache, &tc_key);
 	      *pixel = tc_elem->tweencolor;
-				gdMutexUnlock(gdFontCacheMutex);
 	    }
 	}
     }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.