Skip to content
Snippets Groups Projects
Commit bc0eb8fc authored by Veronique Legrand's avatar Veronique Legrand
Browse files

fixed bug : memory deallocation of cur_fq_record. TODO : take some time to...

fixed bug : memory deallocation of cur_fq_record. TODO : take some time to make something cleaner on this topic
parent 37f1d516
No related branches found
No related tags found
No related merge requests found
Pipeline #151515 failed
......@@ -136,7 +136,10 @@ public:
free(o_buf);
o_buf=NULL;
}
delete cur_fq_record;
if (cur_fq_record !=NULL) {
delete cur_fq_record;
cur_fq_record=NULL;
}
}
void openInputFile(char * ficname, unsigned char id);
......@@ -147,11 +150,7 @@ public:
void openOutputFile();
void writeToOutput(const unsigned long&);
void closeOutputFile();
/*void setUndefFile(char * ficname);
void openUndefFile();
void writeStrToUndefFile(char * start_in_buf, int len);
void writeToUndefFile(const T_buf_info& buf_info,const int& addCR=0);
void closeUndefFile();*/
static void setQualThreshold(const FasqQualThreshold& a_qual_thres){
FqBaseBackend::qual_thres.min_correct_k_mers_in_read=a_qual_thres.min_correct_k_mers_in_read;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment