diff --git a/algo/core/output.cpp b/algo/core/output.cpp index 6f578529ea1b25b21cb7f482c0175b81f10e3eb0..ad2594a89bd414b05965ce2c11bc1e23a8dcabd1 100644 --- a/algo/core/output.cpp +++ b/algo/core/output.cpp @@ -42,6 +42,8 @@ SampleOutput::SampleOutput(json init) SampleOutput::~SampleOutput() { + for (auto it: clones) + delete it.second; } void SampleOutput::out(ostream &s)