Skip to content
This repository was archived by the owner on Feb 16, 2025. It is now read-only.

Commit

Permalink
INI: fixed memleak
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-wa committed Feb 16, 2016
1 parent 055efe2 commit 883a702
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/plugins/ini/ini.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 883a702

Please sign in to comment.