From 6071843d4c76bbade62fe6b9aa3bd12bc3b1b21d Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Mon, 28 Mar 2005 18:46:57 +0000 Subject: Proper fix for the memory leak. --- main/php_variables.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'main/php_variables.c') diff --git a/main/php_variables.c b/main/php_variables.c index 8379cfa955..17a0d82592 100644 --- a/main/php_variables.c +++ b/main/php_variables.c @@ -668,7 +668,7 @@ int php_hash_environment(TSRMLS_D) } for (i=0; irefcount++; if (PG(register_long_arrays)) { zend_hash_update(&EG(symbol_table), auto_global_records[i].long_name, auto_global_records[i].long_name_len, &PG(http_globals)[i], sizeof(zval *), NULL); PG(http_globals)[i]->refcount++; -- cgit v1.2.1