mirror of
https://github.com/php/php-src.git
synced 2024-12-04 15:23:44 +08:00
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3: Fix memory leak in php_imap_mutf7()
This commit is contained in:
commit
d1feeed7f3
@ -3086,7 +3086,8 @@ static void php_imap_mutf7(INTERNAL_FUNCTION_PARAMETERS, int mode) /* {{{ */
|
||||
if (out == NIL) {
|
||||
RETURN_FALSE;
|
||||
} else {
|
||||
RETURN_STRING((char *)out);
|
||||
RETVAL_STRING((char *)out);
|
||||
fs_give((void**) &out);
|
||||
}
|
||||
}
|
||||
/* }}} */
|
||||
|
Loading…
Reference in New Issue
Block a user