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

Commit

Permalink
Merge pull request #527 from tom-wa/enhanced_ini_2
Browse files Browse the repository at this point in the history
INI: fixed memleak
  • Loading branch information
markus2330 committed Feb 16, 2016
2 parents cf0c124 + 883a702 commit 0aa3719
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 0aa3719

Please sign in to comment.