diff options
author | Dmitry Stogov <dmitry@php.net> | 2011-09-13 13:29:35 +0000 |
---|---|---|
committer | Dmitry Stogov <dmitry@php.net> | 2011-09-13 13:29:35 +0000 |
commit | 4a25a7740d62c9ec0318001c3f6d6b3ae01d96ad (patch) | |
tree | 3e5041ac2a54ff635c9e77d97e2a14a2f1c860c6 /Zend/zend_iterators.c | |
parent | 3a3c2942d254be88b82fc871ef4fa9698e921ac7 (diff) | |
download | php-git-4a25a7740d62c9ec0318001c3f6d6b3ae01d96ad.tar.gz |
Fixed ZE specific compile warnings (Bug #55629)
Diffstat (limited to 'Zend/zend_iterators.c')
-rwxr-xr-x | Zend/zend_iterators.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Zend/zend_iterators.c b/Zend/zend_iterators.c index c8827aecae..fe70755558 100755 --- a/Zend/zend_iterators.c +++ b/Zend/zend_iterators.c @@ -51,9 +51,7 @@ static zend_object_handlers iterator_object_handlers = { ZEND_API void zend_register_iterator_wrapper(TSRMLS_D) { INIT_CLASS_ENTRY(zend_iterator_class_entry, "__iterator_wrapper", NULL); - if (!IS_INTERNED(zend_iterator_class_entry.name)) { - free(zend_iterator_class_entry.name); - } + str_free(zend_iterator_class_entry.name); zend_iterator_class_entry.name = "__iterator_wrapper"; } |