mirror of
https://github.com/php/php-src.git
synced 2024-11-25 10:54:15 +08:00
Fixed a possible crash
This commit is contained in:
parent
4cf7073a84
commit
fe9f641658
@ -1403,7 +1403,9 @@ void php_local_infile_end(void *ptr)
|
||||
return;
|
||||
}
|
||||
|
||||
php_stream_close(mysql->li_stream);
|
||||
if (mysql->li_stream) {
|
||||
php_stream_close(mysql->li_stream);
|
||||
}
|
||||
free(data);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user