alignpairedend: fixed the worst memory leak and the handling of the case

where 0 common kmers are found
This commit is contained in:
Celine Mercier
2019-03-29 11:16:25 +01:00
parent ceaafca427
commit ee9947217c
5 changed files with 46 additions and 43 deletions

View File

@ -110,11 +110,11 @@ Obi_ali_p kmer_similarity(Obiview_p view1,
OBIDMS_column_p qual_col1,
OBIDMS_column_p qual_col2,
uint8_t kmer_size,
int32_t* kmer_pos_array,
int32_t** kmer_pos_array_p,
int32_t* kmer_pos_array_height_p,
int32_t* shift_array,
int32_t** shift_array_p,
int32_t* shift_array_height_p,
int32_t* shift_count_array,
int32_t** shift_count_array_p,
int32_t* shift_count_array_height_p,
bool build_consensus);