2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-31 14:25:52 +00:00

Merge r1379: Fix leaking file descriptors on included files.

Nominated-by: Steve Beattie <sbeattie@ubuntu.com>
Acked-By: Marc Deslauriers <marc.deslauriers@canonical.com>
This commit is contained in:
Steve Beattie
2010-07-13 16:31:57 -07:00

View File

@@ -231,6 +231,7 @@ LT_EQUAL <=
}
<<EOF>> {
fclose(yyin);
pop_include_stack();
yypop_buffer_state();
if ( !YY_CURRENT_BUFFER ) yyterminate();