--- a/settings.c Thu Dec 01 17:06:27 2011 +0100 +++ b/settings.c Thu Jan 26 15:55:52 2012 +0100 @@ -21,13 +21,15 @@ settings->suffixList = new_string_list_t(); settings->verbose = true; settings->bfileHeuristics = new_bfile_heuristics_t(); - settings->confusing_lnlen = false; + settings->confusing_lnlen = false; + settings->regex = new_regex_parser_t(); } return settings; } void destroy_settings_t(settings_t* settings) { + destroy_regex_parser_t(settings->regex); destroy_string_list_t(settings->suffixList); destroy_bfile_heuristics_t(settings->bfileHeuristics); free(settings);