size_t bufsize, struct capture_config *config)
{
int ret;
+ STRING_SET(prepopulate_pats);
struct text_file_section sections[] = {
{T("ExclusionList"),
&config->exclusion_pats},
{T("ExclusionException"),
&config->exclusion_exception_pats},
+ {T("PrepopulateList"),
+ &prepopulate_pats},
};
void *mem;
if (ret)
return ret;
+ FREE(prepopulate_pats.strings);
+
config->buf = mem;
return 0;
}