Skip to content

Commit

Permalink
fix a crash caused by dual-delete
Browse files Browse the repository at this point in the history
  • Loading branch information
sfchen committed Nov 7, 2024
1 parent 629f680 commit cb258dd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
4 changes: 0 additions & 4 deletions src/peprocessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,6 @@ PairEndProcessor::~PairEndProcessor() {
delete mRightReadPool;
mRightReadPool = NULL;
}
for(int t=0; t<mOptions->thread; t++){
delete mLeftInputLists[t];
delete mRightInputLists[t];
}
delete[] mLeftInputLists;
delete[] mRightInputLists;
}
Expand Down
3 changes: 0 additions & 3 deletions src/seprocessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@ SingleEndProcessor::~SingleEndProcessor() {
delete mReadPool;
mReadPool = NULL;
}
for(int t=0; t<mOptions->thread; t++){
delete mInputLists[t];
}
delete[] mInputLists;
}

Expand Down

0 comments on commit cb258dd

Please sign in to comment.