iliaa Wed Dec 29 16:07:59 2004 EDT
Modified files:
/php-src/ext/gd gd.c
Log:
Don't forget to unload t1lib.
http://cvs.php.net/diff.php/php-src/ext/gd/gd.c?r1=1.299&r2=1.300&ty=u
Index: php-src/ext/gd/gd.c
diff -u php-src/ext/gd/gd.c:1.299 php-src/ext/gd/gd.c:1.300
--- php-src/ext/gd/gd.c:1.299 Tue Nov 2 11:41:41 2004
+++ php-src/ext/gd/gd.c Wed Dec 29 16:07:59 2004
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: gd.c,v 1.299 2004/11/02 16:41:41 iliaa Exp $ */
+/* $Id: gd.c,v 1.300 2004/12/29 21:07:59 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