From f2de63c6e0c4bd6dd0bd02b8953b9a4d06a0bcb0 Mon Sep 17 00:00:00 2001 From: Steven Luo Date: Thu, 17 Dec 2009 03:12:12 -0800 Subject: [PATCH] Make parse_config_file_end() clear re_init Without this, another call to parse_config_file_begin() does nothing, which causes a crash in parse_config_file_line(). --- configfile.c | 1 + 1 file changed, 1 insertion(+) diff --git a/configfile.c b/configfile.c index 193121a..5ed02d6 100644 --- a/configfile.c +++ b/configfile.c @@ -111,6 +111,7 @@ void parse_config_file_end(void) { regfree(&re_ignore); regfree(&re_config1); regfree(&re_config2); + re_init = 0; } /* Read the next line from a config file and store it into a swb_config_line, -- 1.7.9.5