com_write_sparam(), cleanup storage more thoroughly (`wl_sparam')

This commit is contained in:
rlar 2012-10-01 21:28:48 +02:00
parent 98b38556aa
commit 7a65ea0318
1 changed files with 2 additions and 1 deletions

View File

@ -550,7 +550,7 @@ com_write_sparam(wordlist *wl)
names = ft_getpnames(wl_sparam, TRUE);
if (names == NULL)
return;
goto done;
for (pn = names; pn; pn = pn->pn_next) {
d = ft_evaluate(pn);
@ -660,6 +660,7 @@ com_write_sparam(wordlist *wl)
done:
free_pnode(names);
wl_free(wl_sparam);
}