mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 07:15:08 +01:00
Fix small memory leak in new join feature - see 5ab9168
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user