com php-src: nulling these seems like a good idea: Zend/zend_ inheritance.c

From: Date: Wed, 09 Mar 2016 05:32:56 +0000
Subject: com php-src: nulling these seems like a good idea: Zend/zend_ inheritance.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-95595@lists.php.net to get a copy of this message
Commit: e5afe080c7caa611b28aa09964c86e77fa045872 Author: Joe Watkins <krakjoe@php.net> Wed, 9 Mar 2016 05:32:56 +0000 Parents: 2c3e242f56775e222866a38ac7b82897460a10e4 Branches: typed_ref_properties Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e5afe080c7caa611b28aa09964c86e77fa045872 Log: nulling these seems like a good idea Changed paths: M Zend/zend_inheritance.c Diff: diff --git a/Zend/zend_inheritance.c b/Zend/zend_inheritance.c index fcf5861..ea66986 100644 --- a/Zend/zend_inheritance.c +++ b/Zend/zend_inheritance.c @@ -43,6 +43,7 @@ static zend_property_info *zend_duplicate_property_info(zend_property_info *prop } if (new_property_info->type_name) { zend_string_addref(new_property_info->type_name); + new_property_info->type_ce = NULL; } return new_property_info; @@ -56,6 +57,7 @@ static zend_property_info *zend_duplicate_property_info_internal(zend_property_i zend_string_addref(new_property_info->name); if (new_property_info->type_name) { zend_string_addref(new_property_info->type_name); + new_property_info->type_ce = NULL; } return new_property_info;

« previous php.cvs (#95595) next »