Skip to content

Commit

Permalink
Fix memory leak: not releasing read bases/quals.
Browse files Browse the repository at this point in the history
  • Loading branch information
brianwalenz committed Jan 17, 2019
1 parent 598ff79 commit 634b051
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/utgcns/unitigConsensus.C
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,11 @@ unitigConsensus::unitigConsensus(sqStore *seqStore_,


unitigConsensus::~unitigConsensus() {

for (uint32 ss=0; ss<_sequencesLen; ss++)
delete _sequences[ss];

delete [] _sequences;
delete [] _utgpos;
delete [] _cnspos;
}
Expand Down

0 comments on commit 634b051

Please sign in to comment.