From b6b269ecdecd80c3d1fae823a4c94f4afc72c125 Mon Sep 17 00:00:00 2001 From: Markus Mittendrein Date: Sat, 20 Apr 2019 02:10:03 +0200 Subject: Fix memory leak in cc4group_createDirectory --- src/cc4group.c | 2 ++ 1 file changed, 2 insertions(+) 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; } -- cgit v1.2.3-54-g00ecf