dnsbl: Fix memory leak in dnsbl_config_handler()

CID: 1170515
This commit is contained in:
Attila Molnar 2014-09-18 02:04:21 +02:00
parent 3ab69700ac
commit 04dc96b771
1 changed files with 1 additions and 0 deletions

View File

@ -444,6 +444,7 @@ static int dnsbl_config_handler(mowgli_config_file_entry_t *ce)
{ {
char *line = sstrdup(cce->varname); char *line = sstrdup(cce->varname);
new_blacklist(line); new_blacklist(line);
free(line);
} }
return 0; return 0;