leak: deleting a config entry did not free its name

This commit is contained in:
Enno Rehling 2015-10-14 20:45:43 +02:00
parent f740f2829a
commit 284a74c878
1 changed files with 1 additions and 0 deletions

View File

@ -1144,6 +1144,7 @@ void set_param(struct param **p, const char *key, const char *data)
}
else {
*p = par->next;
free(par->name);
free(par);
}
return;