summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/cc4group.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cc4group.c b/src/cc4group.c
index 3782681..724a8b5 100644
--- a/src/cc4group.c
+++ b/src/cc4group.c
@@ -2181,6 +2181,8 @@ static bool cc4group_createDirectory(CC4Group* const this, const char* const pat
entry->header = header;
entry->core.Directory = 1;
+ AddCleanUpJob(free, header);
+
return true;
}