From 0c3d9dacafdb807d2101c67610969707353f434a Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Tue, 25 Mar 2014 14:58:00 +0100 Subject: Fixes file descriptor leak when parser ends with error. Thanks to MrBr for the bugreport. --- conf/conf.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'conf/conf.h') diff --git a/conf/conf.h b/conf/conf.h index a8bba7e8..fa14d7b5 100644 --- a/conf/conf.h +++ b/conf/conf.h @@ -139,6 +139,8 @@ extern struct include_file_stack *ifs; int cf_lex(void); void cf_lex_init(int is_cli, struct config *c); +void cf_lex_unwind(void); + struct symbol *cf_find_symbol(byte *c); struct symbol *cf_default_name(char *template, int *counter); struct symbol *cf_define_symbol(struct symbol *symbol, int type, void *def); -- cgit v1.2.3