Permalink
Browse files

delete -> delete[]

  • Loading branch information...
1 parent 2cd94cb commit 1f37e940f3df319b78eee0e0f0f87c3d30ad95de @BenLangmead committed Jul 7, 2017
Showing with 1 addition and 1 deletion.
  1. +1 −1 hit.h
View
2 hit.h
@@ -235,7 +235,7 @@ class HitSink {
*/
virtual ~HitSink() {
if(ptNumAligned_ != NULL) {
- delete ptNumAligned_;
+ delete[] ptNumAligned_;
ptNumAligned_ = NULL;
}
closeOuts();

0 comments on commit 1f37e94

Please sign in to comment.