From ebb3eff6054296deb9ef6d78462eae2b2835f31f Mon Sep 17 00:00:00 2001 From: Markus Mittendrein Date: Sun, 11 Aug 2019 22:20:22 +0200 Subject: Utilize take memory management instead of CleanUpJobs for cc4group_createDirectory --- src/cc4group.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') 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; } -- cgit v1.2.3-54-g00ecf