diff options
| author | Markus Mittendrein <git@maxmitti.tk> | 2019-08-11 22:20:22 +0200 |
|---|---|---|
| committer | Markus Mittendrein <git@maxmitti.tk> | 2019-08-11 22:20:22 +0200 |
| commit | ebb3eff6054296deb9ef6d78462eae2b2835f31f (patch) | |
| tree | df5a4233dca6161999e5bbe0c2acfc8f81beaa8d | |
| parent | 7e756473254947a50355ff83ff5a559251de0a11 (diff) | |
| download | cc4group-ebb3eff6054296deb9ef6d78462eae2b2835f31f.tar.gz cc4group-ebb3eff6054296deb9ef6d78462eae2b2835f31f.zip | |
Utilize take memory management instead of CleanUpJobs for cc4group_createDirectory
| -rw-r--r-- | src/cc4group.c | 3 |
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; } |
