mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-21 08:29:39 +08:00
Close file to no leak file descriptor memory. Found by Coverity.
This commit is contained in:
parent
c155f654b4
commit
579dae5bc0
@ -1355,6 +1355,7 @@ parse_include(void)
|
||||
/* if the command was "include_next" we have to disregard the first hit */
|
||||
if (yyin && include_next)
|
||||
{
|
||||
fclose (yyin);
|
||||
yyin = NULL;
|
||||
include_next = false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user