Commit 579dae5b authored by Michael Meskes's avatar Michael Meskes

Close file to no leak file descriptor memory. Found by Coverity.

parent c155f654
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment