Merge changes to configfile.c from c-implementation
authorSteven Luo <steven+maemo@steven676.net>
Thu, 17 Dec 2009 11:14:39 +0000 (03:14 -0800)
committerSteven Luo <steven+maemo@steven676.net>
Thu, 17 Dec 2009 11:14:39 +0000 (03:14 -0800)
Fixes a crash in the UI.

configfile.c

index 193121a..5ed02d6 100644 (file)
@@ -111,6 +111,7 @@ void parse_config_file_end(void) {
        regfree(&re_ignore);
        regfree(&re_config1);
        regfree(&re_config2);
        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,
 }
 
 /* Read the next line from a config file and store it into a swb_config_line,