iliaa           Wed Dec 29 16:08:16 2004 EDT

  Modified files:              (Branch: PHP_5_0)
    /php-src/ext/gd     gd.c 
  Log:
  MFH: Don't forget to unload t1lib.
  
  
http://cvs.php.net/diff.php/php-src/ext/gd/gd.c?r1=1.294.2.4&r2=1.294.2.5&ty=u
Index: php-src/ext/gd/gd.c
diff -u php-src/ext/gd/gd.c:1.294.2.4 php-src/ext/gd/gd.c:1.294.2.5
--- php-src/ext/gd/gd.c:1.294.2.4       Tue Nov  2 11:41:26 2004
+++ php-src/ext/gd/gd.c Wed Dec 29 16:08:16 2004
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: gd.c,v 1.294.2.4 2004/11/02 16:41:26 iliaa Exp $ */
+/* $Id: gd.c,v 1.294.2.5 2004/12/29 21:08:16 iliaa Exp $ */
 
 /* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center,
    Cold Spring Harbor Labs. */
@@ -335,7 +335,7 @@
        "gd",
        gd_functions,
        PHP_MINIT(gd),
-       NULL,
+       PHP_MSHUTDOWN(gd),
        NULL,
 #if HAVE_LIBGD20 && HAVE_GD_STRINGFT
        PHP_RSHUTDOWN(gd),
@@ -373,6 +373,18 @@
 }
 /* }}} */
 
+/* {{{ PHP_MSHUTDOWN_FUNCTION
+ */
+PHP_MSHUTDOWN_FUNCTION(gd)
+{
+#if HAVE_LIBT1
+       T1_CloseLib();
+#endif
+       return SUCCESS;
+}
+/* }}} */
+
+
 /* {{{ PHP_MINIT_FUNCTION
  */
 PHP_MINIT_FUNCTION(gd)

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to