diff options
| author | Sebastian Bergmann <sebastian@php.net> | 2003-06-04 08:52:43 +0000 |
|---|---|---|
| committer | Sebastian Bergmann <sebastian@php.net> | 2003-06-04 08:52:43 +0000 |
| commit | f26c5f9ce44df2cee8a24172dfe65af09124d41f (patch) | |
| tree | 053eeafb630381c4435e3e21da8a48f695786645 | |
| parent | 039c174337e9d2324a997e325a54dc3c0b187243 (diff) | |
| download | php-git-f26c5f9ce44df2cee8a24172dfe65af09124d41f.tar.gz | |
Fix segfault. Again.
| -rw-r--r-- | Zend/zend.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/zend.c b/Zend/zend.c index 9acc36db9f..97b0164834 100644 --- a/Zend/zend.c +++ b/Zend/zend.c @@ -568,6 +568,7 @@ int zend_startup(zend_utility_functions *utility_functions, char **extensions, i GLOBAL_FUNCTION_TABLE = (HashTable *) malloc(sizeof(HashTable)); GLOBAL_CLASS_TABLE = (HashTable *) malloc(sizeof(HashTable)); GLOBAL_AUTO_GLOBALS_TABLE = (HashTable *) malloc(sizeof(HashTable)); + GLOBAL_CONSTANTS_TABLE = (HashTable *) malloc(sizeof(HashTable)); zend_hash_init_ex(GLOBAL_FUNCTION_TABLE, 100, NULL, ZEND_FUNCTION_DTOR, 1, 0); zend_hash_init_ex(GLOBAL_CLASS_TABLE, 10, NULL, ZEND_CLASS_DTOR, 1, 0); |
