stas            Wed, 15 Jul 2009 23:55:50 +0000

URL: http://svn.php.net/viewvc?view=revision&revision=284153

Changed paths:
        U   php/php-src/branches/PHP_5_3/ext/standard/assert.c

Log:
fix freed mem reference


Modified: php/php-src/branches/PHP_5_3/ext/standard/assert.c
===================================================================
--- php/php-src/branches/PHP_5_3/ext/standard/assert.c  2009-07-15 23:50:59 UTC 
(rev 284152)
+++ php/php-src/branches/PHP_5_3/ext/standard/assert.c  2009-07-15 23:55:50 UTC 
(rev 284153)
@@ -56,6 +56,7 @@
        if (EG(in_execution)) {
                if (ASSERTG(callback)) {
                        zval_ptr_dtor(&ASSERTG(callback));
+                       ASSERTG(callback) = NULL;
                }
                if (new_value && (ASSERTG(callback) || new_value_length)) {
                        MAKE_STD_ZVAL(ASSERTG(callback));

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

Reply via email to