From bca1c49cf8aad47f5c1ecc2ba4f92f51115d7329 Mon Sep 17 00:00:00 2001 From: Markus Mittendrein Date: Wed, 20 Mar 2019 14:08:10 +0100 Subject: Fix case of AddCleanUpJob --- src/cc4group.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src') 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; } -- cgit v1.2.3-54-g00ecf