1
0
mirror of https://github.com/php/php-src.git synced 2026-03-27 09:42:22 +01:00

Don't forget to unload t1lib.

This commit is contained in:
Ilia Alshanetsky
2004-12-29 21:07:59 +00:00
parent 70c51c4ee6
commit 3f79dfbb04

View File

@@ -335,7 +335,7 @@ zend_module_entry gd_module_entry = {
"gd",
gd_functions,
PHP_MINIT(gd),
NULL,
PHP_MSHUTDOWN(gd),
NULL,
#if HAVE_LIBGD20 && HAVE_GD_STRINGFT
PHP_RSHUTDOWN(gd),
@@ -373,6 +373,18 @@ static void php_free_gd_font(zend_rsrc_list_entry *rsrc TSRMLS_DC)
}
/* }}} */
/* {{{ PHP_MSHUTDOWN_FUNCTION
*/
PHP_MSHUTDOWN_FUNCTION(gd)
{
#if HAVE_LIBT1
T1_CloseLib();
#endif
return SUCCESS;
}
/* }}} */
/* {{{ PHP_MINIT_FUNCTION
*/
PHP_MINIT_FUNCTION(gd)