summaryrefslogtreecommitdiff
path: root/ext/standard/basic_functions.c
diff options
context:
space:
mode:
authorXinchen Hui <laruence@gmail.com>2016-03-25 12:34:22 +0800
committerXinchen Hui <laruence@gmail.com>2016-03-25 12:34:22 +0800
commit1929fc9b16c836c1449dee3fd3570031ff8dcba1 (patch)
tree88e9af03e317318f9ffb3f2f85c8fda55f83db94 /ext/standard/basic_functions.c
parent70878a92b181007239a6e9405ec8da32b599c70d (diff)
downloadphp-git-1929fc9b16c836c1449dee3fd3570031ff8dcba1.tar.gz
Fixed bug #71891 (header_register_callback() and register_shutdown_function())
Actually, this fixed the memleak not the behavior(it is expected behavior that "shutdown" is not outputed)
Diffstat (limited to 'ext/standard/basic_functions.c')
-rw-r--r--ext/standard/basic_functions.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c
index b790f9abc0..dd61c547c5 100644
--- a/ext/standard/basic_functions.c
+++ b/ext/standard/basic_functions.c
@@ -5007,7 +5007,6 @@ PHPAPI void php_call_shutdown_functions(void) /* {{{ */
zend_hash_apply(BG(user_shutdown_function_names), user_shutdown_function_call);
}
zend_end_try();
- php_free_shutdown_functions();
}
}
/* }}} */