summaryrefslogtreecommitdiffstats
path: root/src/cc4group.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cc4group.c')
-rw-r--r--src/cc4group.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cc4group.c b/src/cc4group.c
index 6dc7544..97fa93c 100644
--- a/src/cc4group.c
+++ b/src/cc4group.c
@@ -2469,6 +2469,11 @@ static bool cc4group_deleteEntry(CC4Group* const this, const char* const path, b
}
}
+ if(deleteEntry->value.data != NULL)
+ {
+ cc4group_applyMemoryManagementEnd(deleteEntry->value.memoryManagement, deleteEntry->value.data);
+ }
+
GroupEntryList* parentChildren = cc4group_getChildren(this, parent);
assert(parentChildren); // if there was an error, it should have really been catched already in cc4group_getParentAndChildEntries