From 048ef3e7960c8c2d5d8e49354c69c0307251595b Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Sun, 30 Dec 2012 10:37:15 +0100 Subject: [PATCH] fix: ftepp_delete needs to ftepp_flush to not cause a leak on errors --- ftepp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ftepp.c b/ftepp.c index 6d50264..b9a0369 100644 --- a/ftepp.c +++ b/ftepp.c @@ -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)