summaryrefslogtreecommitdiff
path: root/Zend/zend.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.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.h')
-rw-r--r--Zend/zend.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend.h b/Zend/zend.h
index c890cb240b..949fea3916 100644
--- a/Zend/zend.h
+++ b/Zend/zend.h
@@ -572,7 +572,7 @@ typedef int (*zend_write_func_t)(const char *str, uint str_length);
/* default engine string type */
#define ZEND_STR_TYPE (UG(unicode) ? IS_UNICODE : IS_STRING)
-int zend_startup(zend_utility_functions *utility_functions, char **extensions, int start_builtin_functions);
+int zend_startup(zend_utility_functions *utility_functions, char **extensions);
void zend_shutdown(TSRMLS_D);
void zend_register_standard_ini_entries(TSRMLS_D);
void zend_post_startup(TSRMLS_D);