summaryrefslogtreecommitdiff
path: root/Zend/zend_builtin_functions.h
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2008-08-10 21:52:05 +0000
committerMarcus Boerger <helly@php.net>2008-08-10 21:52:05 +0000
commitaea4ea120fbf3539eed29363ea89242d472a0e75 (patch)
treebec7914cdcc450f413c1c6ccf1f7c986c03510b6 /Zend/zend_builtin_functions.h
parentb9b83ec794f2377b25c8c407076d88a8e971c065 (diff)
downloadphp-git-aea4ea120fbf3539eed29363ea89242d472a0e75.tar.gz
- Fix memleak, Zend's built-in functions get copied before we copy all
functions, thus ending up in the name and param definitions copied twice because zend_register_funciton already copies them. - Also Be able to deallocate Zend's built-in functions and do so when appropriate. - After unregistering Zend's built-in functions only dl() is left and that seems to be fine.
Diffstat (limited to 'Zend/zend_builtin_functions.h')
-rw-r--r--Zend/zend_builtin_functions.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/zend_builtin_functions.h b/Zend/zend_builtin_functions.h
index deb313eeb2..9729f42095 100644
--- a/Zend/zend_builtin_functions.h
+++ b/Zend/zend_builtin_functions.h
@@ -23,6 +23,7 @@
#define ZEND_BUILTIN_FUNCTIONS_H
int zend_startup_builtin_functions(TSRMLS_D);
+int zend_shutdown_builtin_functions(TSRMLS_D);
BEGIN_EXTERN_C()
ZEND_API void zend_fetch_debug_backtrace(zval *return_value, int skip_last, int provide_object TSRMLS_DC);