iliaa           Wed Dec 29 16:08:42 2004 EDT

  Modified files:              (Branch: PHP_4_3)
    /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.221.2.46&r2=1.221.2.47&ty=u
Index: php-src/ext/gd/gd.c
diff -u php-src/ext/gd/gd.c:1.221.2.46 php-src/ext/gd/gd.c:1.221.2.47
--- php-src/ext/gd/gd.c:1.221.2.46      Tue Nov  2 11:42:13 2004
+++ php-src/ext/gd/gd.c Wed Dec 29 16:08:42 2004
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: gd.c,v 1.221.2.46 2004/11/02 16:42:13 iliaa Exp $ */
+/* $Id: gd.c,v 1.221.2.47 2004/12/29 21:08:42 iliaa Exp $ */
 
 /* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center, 
    Cold Spring Harbor Labs. */
@@ -287,7 +287,7 @@
        "gd",
        gd_functions,
        PHP_MINIT(gd),
-       NULL,
+       PHP_MSHUTDOWN(gd),
        NULL,
 #if HAVE_LIBGD20 && HAVE_GD_STRINGFT
        PHP_RSHUTDOWN(gd),
@@ -324,6 +324,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