--- embedaddon/php/Zend/zend_opcode.c 2012/05/29 12:34:36 1.1.1.2 +++ embedaddon/php/Zend/zend_opcode.c 2013/07/22 01:32:16 1.1.1.3 @@ -2,7 +2,7 @@ +----------------------------------------------------------------------+ | Zend Engine | +----------------------------------------------------------------------+ - | Copyright (c) 1998-2012 Zend Technologies Ltd. (http://www.zend.com) | + | Copyright (c) 1998-2013 Zend Technologies Ltd. (http://www.zend.com) | +----------------------------------------------------------------------+ | This source file is subject to version 2.00 of the Zend license, | | that is bundled with this package in the file LICENSE, and is | @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_opcode.c,v 1.1.1.2 2012/05/29 12:34:36 misho Exp $ */ +/* $Id: zend_opcode.c,v 1.1.1.3 2013/07/22 01:32:16 misho Exp $ */ #include @@ -162,8 +162,9 @@ static inline void cleanup_user_class_data(zend_class_ for (i = 0; i < ce->default_static_members_count; i++) { if (ce->static_members_table[i]) { - zval_ptr_dtor(&ce->static_members_table[i]); + zval *p = ce->static_members_table[i]; ce->static_members_table[i] = NULL; + zval_ptr_dtor(&p); } } ce->static_members_table = NULL;