felipe                                   Wed, 09 Nov 2011 22:16:31 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=318962

Log:
- Initialize BG(serialize_lock) to make valgrind happy

Changed paths:
    U   php/php-src/branches/PHP_5_4/ext/standard/basic_functions.c
    U   php/php-src/trunk/ext/standard/basic_functions.c

Modified: php/php-src/branches/PHP_5_4/ext/standard/basic_functions.c
===================================================================
--- php/php-src/branches/PHP_5_4/ext/standard/basic_functions.c 2011-11-09 
21:53:55 UTC (rev 318961)
+++ php/php-src/branches/PHP_5_4/ext/standard/basic_functions.c 2011-11-09 
22:16:31 UTC (rev 318962)
@@ -3450,6 +3450,7 @@
        BG(left) = -1;
        BG(user_tick_functions) = NULL;
        BG(user_filter_map) = NULL;
+       BG(serialize_lock) = 0;

        memset(&BG(serialize), 0, sizeof(BG(serialize)));
        memset(&BG(unserialize), 0, sizeof(BG(unserialize)));

Modified: php/php-src/trunk/ext/standard/basic_functions.c
===================================================================
--- php/php-src/trunk/ext/standard/basic_functions.c    2011-11-09 21:53:55 UTC 
(rev 318961)
+++ php/php-src/trunk/ext/standard/basic_functions.c    2011-11-09 22:16:31 UTC 
(rev 318962)
@@ -3452,6 +3452,7 @@
        BG(left) = -1;
        BG(user_tick_functions) = NULL;
        BG(user_filter_map) = NULL;
+       BG(serialize_lock) = 0;

        memset(&BG(serialize), 0, sizeof(BG(serialize)));
        memset(&BG(unserialize), 0, sizeof(BG(unserialize)));

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

Reply via email to