diff options
| -rw-r--r-- | src/cc4group.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/cc4group.c b/src/cc4group.c index 7f822d9..38662e0 100644 --- a/src/cc4group.c +++ b/src/cc4group.c @@ -123,7 +123,6 @@ struct CC4Group_t { size_t position; z_stream gzStrm; const uint8_t* lastData; - CleanUpJobList* cleanupJobs; } readState; bool lazy; @@ -624,13 +623,6 @@ static void cc4group_setLazy(CC4Group* const this, const bool lazy) static void cc4group_cleanupReadState(CC4Group* const this) { - ForeachCleanupJob(this->readState.cleanupJobs) - { - job->value.func(job->value.data); - } - CleanUpJobListDestroy(this->readState.cleanupJobs); - this->readState.cleanupJobs = NULL; - if(this->readState.lastData != NULL && this->lazy) { cc4group_applyMemoryManagementEnd(this->readState.callback.memoryManagement, this->readState.lastData); @@ -1236,7 +1228,6 @@ static void cc4group_init(CC4Group* const this) this->readState.active = false; this->readState.lastData = NULL; - this->readState.cleanupJobs = CleanUpJobListNew(); } static bool cc4group_setMakerRecursively(CC4Group* const this, const C4GroupEntryData* groupEntry, const char* const maker) |
