diff options
| author | Markus Mittendrein <git@maxmitti.tk> | 2019-08-17 22:57:32 +0200 |
|---|---|---|
| committer | Markus Mittendrein <git@maxmitti.tk> | 2019-08-19 18:56:58 +0200 |
| commit | e29845499ab8831e7e81a02fd98d5853336889f1 (patch) | |
| tree | 429ebb8ceaab4a4855d8538736fff3d2558f53ad | |
| parent | f40a21f5a6ca674d93905269bcb4b21f92c41800 (diff) | |
| download | cc4group-e29845499ab8831e7e81a02fd98d5853336889f1.tar.gz cc4group-e29845499ab8831e7e81a02fd98d5853336889f1.zip | |
Fix memory leak when opening empty groups
| -rw-r--r-- | src/cc4group.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cc4group.c b/src/cc4group.c index 0761370..6766745 100644 --- a/src/cc4group.c +++ b/src/cc4group.c @@ -810,8 +810,8 @@ static bool cc4group_uncompressGroup(CC4Group* const this, CC4Group_ReadCallback } retData = (void*)header; - header = NULL; AddCleanUpJob(free, header); + header = NULL; goto ret; } |
