mirror of
https://github.com/php/php-src.git
synced 2026-03-29 11:42:17 +02:00
Fix invalid free
This commit is contained in:
@@ -100,8 +100,9 @@ static void php_fsockopen_stream(INTERNAL_FUNCTION_PARAMETERS, int persistent)
|
||||
if (errstr) {
|
||||
if (zerrstr) {
|
||||
ZEND_TRY_ASSIGN_STR(zerrstr, errstr);
|
||||
} else {
|
||||
zend_string_release(errstr);
|
||||
}
|
||||
zend_string_release(errstr);
|
||||
}
|
||||
|
||||
RETURN_FALSE;
|
||||
|
||||
Reference in New Issue
Block a user