diff options
author | Dmitry Stogov <dmitry@zend.com> | 2018-12-26 12:58:11 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2018-12-26 12:58:11 +0300 |
commit | 22c9d19144285efaa28ece5d510fbd9ab800ffa8 (patch) | |
tree | 344854fed19f1c3bdf388eab79fe7933418b145b /ext/imap | |
parent | d90a5d2e1a41c22ef632c2263784e87d15b58dde (diff) | |
download | php-git-22c9d19144285efaa28ece5d510fbd9ab800ffa8.tar.gz |
Removed useless zval_ptr_dtor(return_value)
Diffstat (limited to 'ext/imap')
-rw-r--r-- | ext/imap/php_imap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/imap/php_imap.c b/ext/imap/php_imap.c index e88318e6f7..d58e7c59ec 100644 --- a/ext/imap/php_imap.c +++ b/ext/imap/php_imap.c @@ -3353,13 +3353,13 @@ PHP_FUNCTION(imap_bodystruct) RETURN_FALSE; } - object_init(return_value); body=mail_body(imap_le_struct->imap_stream, msg, (unsigned char*)ZSTR_VAL(section)); if (body == NULL) { - zval_ptr_dtor(return_value); RETURN_FALSE; } + + object_init(return_value); if (body->type <= TYPEMAX) { add_property_long(return_value, "type", body->type); } |