Skip to content

Commit

Permalink
minblocks leaks in bpls
Browse files Browse the repository at this point in the history
  • Loading branch information
eisenhauer committed Dec 27, 2023
1 parent 253ecff commit 909efb3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion source/utils/bpls/bpls.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3069,7 +3069,9 @@ size_t relative_to_absolute_step(core::Engine *fp, core::Variable<T> *variable,

if (minBlocks)
{
return minBlocks->Step;
size_t Step = minBlocks->Step;
delete minBlocks;
return Step;
}

const std::map<size_t, std::vector<size_t>> &indices =
Expand Down

0 comments on commit 909efb3

Please sign in to comment.