mirror of
https://github.com/php/php-src.git
synced 2024-11-29 04:46:07 +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