Index: gdft.c
===================================================================
RCS file: /repository/gd/libgd/gdft.c,v
retrieving revision 1.28.2.3
diff -u -u -p -r1.28.2.3 gdft.c
--- gdft.c	26 Feb 2007 19:30:42 -0000	1.28.2.3
+++ gdft.c	26 Feb 2007 19:56:47 -0000
@@ -800,6 +800,7 @@ BGD_DECLARE(void) gdFontCacheShutdown ()
       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);
     }
