summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cc4group.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cc4group.c b/src/cc4group.c
index 97fa93c..8831cf5 100644
--- a/src/cc4group.c
+++ b/src/cc4group.c
@@ -2632,8 +2632,7 @@ static bool cc4group_createDirectory(CC4Group* const this, const char* const pat
entry->header = header;
entry->core.Directory = 1;
-
- AddCleanUpJob(free, header);
+ entry->memoryManagement = cc4group.MemoryManagement.Take;
return true;
}