We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Description
static int myersCalcEditDistanceSemiGlobal( const Word* const Peq, const int W, const int maxNumBlocks, const int queryLength, const unsigned char* const target, const int targetLength, int k, const EdlibAlignMode mode, int* const bestScore_, int** const positions_, int* const numPositions_) { *positions_ = NULL; *numPositions_ = 0;
The statement *positinos_ = NULL; can lead to memory leak as *positions_ before the assignment is not released.
*positinos_ = NULL;
This is discovered during code inspection when working on #84
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
The statement
*positinos_ = NULL;
can lead to memory leak as *positions_ before the assignment is not released.This is discovered during code inspection when working on #84
The text was updated successfully, but these errors were encountered: