fix: ftepp_delete needs to ftepp_flush to not cause a leak on errors

This commit is contained in:
Wolfgang Bumiller 2012-12-30 10:37:15 +01:00
parent 921877e8a4
commit 048ef3e796

View file

@ -234,6 +234,7 @@ static ftepp_t* ftepp_new()
static void ftepp_delete(ftepp_t *self)
{
size_t i;
ftepp_flush(self);
if (self->itemname)
mem_d(self->itemname);
if (self->includename)