Skip to content

Commit

Permalink
Don't zero out the readData blob pointer on load; leaks memory (bigly…
Browse files Browse the repository at this point in the history
…) when adding corrected reads.
  • Loading branch information
brianwalenz committed Oct 10, 2017
1 parent 79dd031 commit 690cd50
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/stores/gkStore.C
Original file line number Diff line number Diff line change
Expand Up @@ -541,12 +541,6 @@ gkReadData::gkReadData_loadFromBlob(uint8 *blob) {
_aseq = _rseq;
_aqlt = _rqlt;
}

// Clear the blob. If left set, we'll write it again!

_blobLen = 0;
_blobMax = 0;
_blob = NULL;
}


Expand Down

0 comments on commit 690cd50

Please sign in to comment.