mirror of
https://github.com/postgres/postgres.git
synced 2026-04-08 10:38:53 -04:00
Close file to no leak file descriptor memory. Found by Coverity.
This commit is contained in:
parent
fde440ee23
commit
3f092dbedf
1 changed files with 1 additions and 0 deletions
|
|
@ -1352,6 +1352,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