From 883a702fa6114e013e9fdafa7ef2ac9160b2bc5c Mon Sep 17 00:00:00 2001 From: Thomas Waser Date: Tue, 16 Feb 2016 17:02:33 +0100 Subject: [PATCH] INI: fixed memleak --- src/plugins/ini/ini.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/ini/ini.c b/src/plugins/ini/ini.c index ce1b252234d..b505c3de540 100644 --- a/src/plugins/ini/ini.c +++ b/src/plugins/ini/ini.c @@ -528,6 +528,7 @@ static int iniSectionToElektraKey (void *vhandle, const char *section) { if (handle->mergeSections) keySetMeta(existingKey, "ini/duplicate", ""); + keyDel(appendKey); return 1; } setSectionNumber(handle->parentKey, appendKey, handle->result);