Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
cchd0001 committed Mar 24, 2022
1 parent 2109b7b commit eeb943f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions realign_cm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,12 @@ struct eccTemp
cut_begin = leftmost_sa -1 ; // 0base
cut_end = pos_end;
}
else
{
free(sa_tmp.s);
free(offset);
return 0;
}
free(sa_tmp.s);
free(offset);
return 1;
Expand Down

0 comments on commit eeb943f

Please sign in to comment.