cvs: ZendEngine2 / zend_objects.c

From: Date: Fri, 01 Mar 2002 10:26:11 +0000
Subject: cvs: ZendEngine2 / zend_objects.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-9539@lists.php.net to get a copy of this message
andi Fri Mar 1 05:26:11 2002 EDT Modified files: /ZendEngine2 zend_objects.c Log: - Fix crash reported by Sebastian when destructor function causes a fatal - error. I hope this does it and we don't find any other problems. Index: ZendEngine2/zend_objects.c diff -u ZendEngine2/zend_objects.c:1.14 ZendEngine2/zend_objects.c:1.15 --- ZendEngine2/zend_objects.c:1.14 Thu Feb 7 19:22:37 2002 +++ ZendEngine2/zend_objects.c Fri Mar 1 05:26:10 2002 @@ -46,7 +46,9 @@ zend_hash_destroy(&symbol_table); zval_ptr_dtor(&obj); zval_ptr_dtor(&destructor_func_name); - zval_ptr_dtor(&retval_ptr); + if (retval_ptr) { + zval_ptr_dtor(&retval_ptr); + } } }

« previous php.cvs (#9539) next »