mirror of
https://github.com/postgres/postgres.git
synced 2025-05-01 01:04:50 +03:00
Close file to no leak file descriptor memory. Found by Coverity.
This commit is contained in:
parent
1bb4b62d3e
commit
7612553e75
@ -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…
x
Reference in New Issue
Block a user