leak: spell names and other strings need to be released.

This commit is contained in:
Enno Rehling 2015-10-14 13:57:46 +02:00
parent 5f9c2e13a8
commit 1c2922aafa

View file

@ -38,6 +38,9 @@ quicklist * spells;
static void free_spell_cb(void *cbdata) {
spell *sp = (spell *)cbdata;
free(sp->syntax);
free(sp->parameter);
free(sp->sname);
free(sp->components);
free(sp);
}