- Fixed socket_import_stream returning NULL on some errors and FALSE on others

This commit is contained in:
Gustavo André dos Santos Lopes 2011-06-28 10:27:29 +00:00
parent 6cc66ef964
commit f99938c6ee

View File

@ -2520,6 +2520,7 @@ PHP_FUNCTION(socket_import_stream)
error:
if (retsock != NULL)
efree(retsock);
RETURN_FALSE;
}
/* }}} */