mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
ws fix.
This commit is contained in:
parent
85255d9ee5
commit
591aba3c89
1 changed files with 2 additions and 2 deletions
|
@ -277,8 +277,8 @@ static void php_fsockopen(INTERNAL_FUNCTION_PARAMETERS, int persistent) {
|
||||||
key, strlen(key) + 1, NULL);
|
key, strlen(key) + 1, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(key)
|
if (key)
|
||||||
efree(key);
|
efree(key);
|
||||||
|
|
||||||
ZEND_REGISTER_RESOURCE(return_value, sock, php_file_le_socket());
|
ZEND_REGISTER_RESOURCE(return_value, sock, php_file_le_socket());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue