Skip to content
Snippets Groups Projects
Commit 976993cc authored by Giovanna Ambrosini's avatar Giovanna Ambrosini
Browse files

modified: matrix_scan.c

parent 9aad78f6
No related branches found
No related tags found
No related merge requests found
......@@ -1378,9 +1378,6 @@ main(int argc, char *argv[])
for (i = 0; i <= pwmLen; i++)
free(pwm[i]);
free(pwm);
for (i = 0; i <= pwmLen; i++)
free(pwm_r[i]);
free(pwm_r);
/* Free word index arrays (Scores and z link arrays) */
free(z);
free(ScoreF);
......@@ -1388,6 +1385,9 @@ main(int argc, char *argv[])
if (!options.forward) {
free(ScoreR);
free(Rrv);
for (i = 0; i <= pwmLen; i++)
free(pwm_r[i]);
free(pwm_r);
}
return 0;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment