com php-src: fixed todo: Zend/zend_API.c
| From: | Bob Weinand | Date: | Sun, 06 Mar 2016 18:40:04 +0000 |
| Subject: | com php-src: fixed todo: Zend/zend_API.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-95639@lists.php.net to get a copy of this message | ||
Commit: 9303e6d3be456fcfc6acf7dda10cfcd9454f3f63
Author: Joe Watkins <krakjoe@php.net> Sun, 6 Mar 2016 18:40:04 +0000
Parents: 5a07809ff40153533cc3322e1e96df88e57223a3
Branches: typed_ref_properties
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=9303e6d3be456fcfc6acf7dda10cfcd9454f3f63
Log:
fixed todo
Changed paths:
M Zend/zend_API.c
Diff:
diff --git a/Zend/zend_API.c b/Zend/zend_API.c
index a629a5e..fa76883 100644
--- a/Zend/zend_API.c
+++ b/Zend/zend_API.c
@@ -3677,7 +3677,6 @@ ZEND_API int zend_declare_typed_property_ex(zend_class_entry *ce, zend_string
*n
property_info->doc_comment = doc_comment;
property_info->ce = ce;
property_info->type = optional_type;
- /* TODO(krakjoe) this may leak, introduce dtor? */
property_info->type_name = optional_type_name ?
zend_new_interned_string(optional_type_name) : NULL;