mirror of
https://github.com/postgres/postgres.git
synced 2026-02-21 00:40:20 -05:00
Close file to no leak file descriptor memory. Found by Coverity.
This commit is contained in:
parent
8e67a28eea
commit
aef9d25aa3
1 changed files with 1 additions and 0 deletions
|
|
@ -1354,6 +1354,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 a new issue