iliaa           Mon Mar 28 13:09:29 2005 EDT

  Modified files:              
    /php-src/main       php_variables.c 
  Log:
  Fixed memory leak when variables_order does not contain 'S'.
  
  
http://cvs.php.net/diff.php/php-src/main/php_variables.c?r1=1.85&r2=1.86&ty=u
Index: php-src/main/php_variables.c
diff -u php-src/main/php_variables.c:1.85 php-src/main/php_variables.c:1.86
--- php-src/main/php_variables.c:1.85   Wed Feb 16 23:44:11 2005
+++ php-src/main/php_variables.c        Mon Mar 28 13:09:28 2005
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: php_variables.c,v 1.85 2005/02/17 04:44:11 iliaa Exp $ */
+/* $Id: php_variables.c,v 1.86 2005/03/28 18:09:28 iliaa Exp $ */
 
 #include <stdio.h>
 #include "php.h"
@@ -668,7 +668,7 @@
        }
 
        for (i=0; i<num_track_vars; i++) {
-               if (jit_initialization && 
auto_global_records[i].jit_initialization) {
+               if ((jit_initialization && 
auto_global_records[i].jit_initialization) || _gpc_flags[i]) {
                        continue;
                }
                if (!PG(http_globals)[i]) {

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to