]> granicus.if.org Git - php/commitdiff
Fix segfault. Again.
authorSebastian Bergmann <sebastian@php.net>
Wed, 4 Jun 2003 08:52:43 +0000 (08:52 +0000)
committerSebastian Bergmann <sebastian@php.net>
Wed, 4 Jun 2003 08:52:43 +0000 (08:52 +0000)
Zend/zend.c

index 9acc36db9fc2648c29c523bdc6697da16509d667..97b0164834914e57c73bfeb89435ef154ab0a7fb 100644 (file)
@@ -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);