Content-Length: 253810 | pFad | http://github.com/postgrespro/postgres_cluster/commit/579dae5bc0b87dfa53d0caa0ac57f0f5e739544f

AB Close file to no leak file descriptor memory. Found by Coverity. · postgrespro/postgres_cluster@579dae5 · GitHub
Skip to content

Commit 579dae5

Browse files
author
Michael Meskes
committed
Close file to no leak file descriptor memory. Found by Coverity.
1 parent c155f65 commit 579dae5

File tree

1 file changed

+1
-0
lines changed
  • src/interfaces/ecpg/preproc

1 file changed

+1
-0
lines changed

src/interfaces/ecpg/preproc/pgc.l

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1355,6 +1355,7 @@ parse_include(void)
13551355
/* if the command was "include_next" we have to disregard the first hit */
13561356
if (yyin && include_next)
13571357
{
1358+
fclose (yyin);
13581359
yyin = NULL;
13591360
include_next = false;
13601361
}

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/579dae5bc0b87dfa53d0caa0ac57f0f5e739544f

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy