diff options
author | Dmitry Stogov <dmitry@zend.com> | 2019-12-09 15:05:24 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2019-12-09 15:05:24 +0300 |
commit | 92c23e1fd36b89bcc835fcd3e49e6ff33d1b1ca8 (patch) | |
tree | 256b3738e73d6dc1aaa37b6d474532ee5874864b /ext/gd/gd.c | |
parent | 42a2fb8411848236d0cd56b5efd05e352e62ee3d (diff) | |
download | php-git-92c23e1fd36b89bcc835fcd3e49e6ff33d1b1ca8.tar.gz |
Call zend_unregister_ini_entries() when unload extension loaded through dl() without MSHUTDOWN callback.
Extensions with MSHUTDOWN should use UNREGISTER_INI_ENTRIES().
Diffstat (limited to 'ext/gd/gd.c')
-rw-r--r-- | ext/gd/gd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/gd/gd.c b/ext/gd/gd.c index b6868f53eb..3480699a70 100644 --- a/ext/gd/gd.c +++ b/ext/gd/gd.c @@ -1235,6 +1235,7 @@ PHP_MSHUTDOWN_FUNCTION(gd) #if defined(HAVE_GD_FREETYPE) && defined(HAVE_GD_BUNDLED) gdFontCacheMutexShutdown(); #endif + UNREGISTER_INI_ENTRIES(); return SUCCESS; } /* }}} */ |