diff options
| author | Markus Mittendrein <git@maxmitti.tk> | 2019-03-20 14:08:10 +0100 |
|---|---|---|
| committer | Markus Mittendrein <git@maxmitti.tk> | 2019-03-20 14:08:10 +0100 |
| commit | bca1c49cf8aad47f5c1ecc2ba4f92f51115d7329 (patch) | |
| tree | e990524329e3c80935e663c94dd2be843049df9f /src/cc4group.c | |
| parent | 9e9d982d3eacc8fb7fcafc35d6df07d5d84d9036 (diff) | |
| download | cc4group-bca1c49cf8aad47f5c1ecc2ba4f92f51115d7329.tar.gz cc4group-bca1c49cf8aad47f5c1ecc2ba4f92f51115d7329.zip | |
Fix case of AddCleanUpJob
Diffstat (limited to 'src/cc4group.c')
| -rw-r--r-- | src/cc4group.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/cc4group.c b/src/cc4group.c index c30e878..b00cc45 100644 --- a/src/cc4group.c +++ b/src/cc4group.c @@ -205,7 +205,7 @@ static char* cc4group_noerrorFormatter(int32_t const code, const char* const met return strdup("No Error"); } -#define AddCleanupJob(func, data) CleanUpJobListPrepend(this->cleanupJobs, (CC4Group_CleanupJob){(CC4Group_CleanupFunc)func, data}); +#define AddCleanUpJob(func, data) CleanUpJobListPrepend(this->cleanupJobs, (CC4Group_CleanupJob){(CC4Group_CleanupFunc)func, data}); static void memScrambleHeader(uint8_t* const data) { @@ -425,7 +425,7 @@ static bool cc4group_buildGroupHierarchy(CC4Group* const this) this->root.core.Directory = 1; this->root.core.FileName[0] = '\0'; - AddCleanupJob(deleteChildren, this->root.children); + AddCleanUpJob(deleteChildren, this->root.children); return ret; } @@ -631,7 +631,7 @@ static bool cc4group_uncompressGroup(CC4Group* const this, CC4Group_ReadCallback retData = (void*)header; header = NULL; - AddCleanupJob(free, header); + AddCleanUpJob(free, header); goto ret; } @@ -1081,7 +1081,7 @@ static bool cc4group_initNewHeader(CC4Group* const this) return false; } - AddCleanupJob(free, this->root.header); + AddCleanUpJob(free, this->root.header); C4GroupHeader_init(this->root.header); @@ -1108,7 +1108,7 @@ static bool cc4group_create(CC4Group* const this) } this->root.children = GroupEntryListNew(); - AddCleanupJob(deleteChildren, this->root.children); + AddCleanUpJob(deleteChildren, this->root.children); return true; } |
