mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
- Fixed socket_import_stream returning NULL on some errors and FALSE on others
This commit is contained in:
parent
6cc66ef964
commit
f99938c6ee
@ -2520,6 +2520,7 @@ PHP_FUNCTION(socket_import_stream)
|
||||
error:
|
||||
if (retsock != NULL)
|
||||
efree(retsock);
|
||||
RETURN_FALSE;
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user