mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Removed useless zval_ptr_dtor(return_value)
This commit is contained in:
parent
d90a5d2e1a
commit
22c9d19144
3 changed files with 2 additions and 5 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue