diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2014-03-25 14:58:00 +0100 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2014-03-25 14:58:00 +0100 |
commit | 0c3d9dacafdb807d2101c67610969707353f434a (patch) | |
tree | 4abd0f7a4178332150791bda73c5f3185a403dc7 /conf/conf.h | |
parent | 4e7c974d22ee5d938d8d8e7018f0a63f609d630b (diff) |
Fixes file descriptor leak when parser ends with error.
Thanks to MrBr for the bugreport.
Diffstat (limited to 'conf/conf.h')
-rw-r--r-- | conf/conf.h | 2 |
1 files changed, 2 insertions, 0 deletions
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); |