mirror of
https://github.com/php/php-src.git
synced 2024-12-11 10:54:47 +08:00
parent
2b606e0a39
commit
0b619f4f0b
@ -777,7 +777,7 @@ static void php_sybase_do_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent)
|
||||
}
|
||||
|
||||
sybase_ptr = (sybase_link *) malloc(sizeof(sybase_link));
|
||||
if (sybase_ptr) {
|
||||
if (!sybase_ptr) {
|
||||
efree(hashed_details);
|
||||
RETURN_FALSE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user