Fix small memory leak in new join feature - see 5ab9168

This commit is contained in:
Lovell Fuller
2025-03-13 14:08:00 +00:00
parent fda06a62b0
commit 9d40a64120
2 changed files with 21 additions and 0 deletions

View File

@@ -1369,6 +1369,9 @@ class PipelineWorker : public Napi::AsyncWorker {
for (sharp::InputDescriptor *input : baton->joinChannelIn) {
delete input;
}
for (sharp::InputDescriptor *input : baton->join) {
delete input;
}
delete baton;
// Decrement processing task counter