cvs: php4(PHP_4_2_0) /main main.c
| From: | Stefan Esser | Date: | Thu, 25 Jul 2002 09:35:18 +0000 |
| Subject: | cvs: php4(PHP_4_2_0) /main main.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-12976@lists.php.net to get a copy of this message | ||
sesser Thu Jul 25 05:35:18 2002 EDT
Modified files: (Branch: PHP_4_2_0)
/php4/main main.c
Log:
MFH
Index: php4/main/main.c
diff -u php4/main/main.c:1.429.2.2 php4/main/main.c:1.429.2.3
--- php4/main/main.c:1.429.2.2 Fri Mar 8 19:26:40 2002
+++ php4/main/main.c Thu Jul 25 05:35:18 2002
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: main.c,v 1.429.2.2 2002/03/09 00:26:40 sniper Exp $ */
+/* $Id: main.c,v 1.429.2.3 2002/07/25 09:35:18 sesser Exp $ */
/* {{{ includes
*/
@@ -779,7 +779,9 @@
int i;
for (i=0; i<NUM_TRACK_VARS; i++) {
- zval_ptr_dtor(&PG(http_globals)[i]);
+ if (PG(http_globals)[i]) {
+ zval_ptr_dtor(&PG(http_globals)[i]);
+ }
}
} zend_end_try();