diff options
| author | Markus Mittendrein <git@maxmitti.tk> | 2019-04-20 02:10:03 +0200 |
|---|---|---|
| committer | Markus Mittendrein <git@maxmitti.tk> | 2019-04-20 02:43:37 +0200 |
| commit | b6b269ecdecd80c3d1fae823a4c94f4afc72c125 (patch) | |
| tree | ab39584660ef5e7416b4fd852016d5fa5d744d89 /src/cc4group.c | |
| parent | 43931c7e187bda85e2be12bccb14bd826a6c34c0 (diff) | |
| download | cc4group-b6b269ecdecd80c3d1fae823a4c94f4afc72c125.tar.gz cc4group-b6b269ecdecd80c3d1fae823a4c94f4afc72c125.zip | |
Fix memory leak in cc4group_createDirectory
Diffstat (limited to 'src/cc4group.c')
| -rw-r--r-- | src/cc4group.c | 2 |
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; } |
