Skip to content

Commit

Permalink
[Fix] Two potential sources of EIC-based leaks
Browse files Browse the repository at this point in the history
  • Loading branch information
saif-el committed Jan 7, 2021
1 parent 217c31d commit f315b40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/core/libmaven/peakdetector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1082,6 +1082,7 @@ void PeakDetector::detectIsotopesForParent(PeakGroup& parentGroup,
_mavenParameters,
_mavenParameters->clsf,
true);
delete_all(eics);
if (isotopeGroup->peakCount() == 0)
continue;

Expand Down
1 change: 1 addition & 0 deletions src/gui/mzroll/backgroundopsthread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,7 @@ void BackgroundOpsThread::updateGroups(QList<shared_ptr<PeakGroup>>& groups,
}
group->updateQuality();
group->groupStatistics();
delete_all(eics);
};

for(auto group : groups) {
Expand Down

0 comments on commit f315b40

Please sign in to comment.