mirror of
https://github.com/chhylp123/hifiasm.git
synced 2026-09-15 20:57:57 +08:00
r185: fixed a few more memory leaks
This commit is contained in:
@@ -118,8 +118,8 @@ int load_All_reads(All_reads* r, char* read_file_name)
|
||||
char* index_name = (char*)malloc(strlen(read_file_name)+15);
|
||||
sprintf(index_name, "%s.bin", read_file_name);
|
||||
FILE* fp = fopen(index_name, "r");
|
||||
if (!fp)
|
||||
{
|
||||
if (!fp) {
|
||||
free(index_name);
|
||||
return 0;
|
||||
}
|
||||
int local_adapterLen;
|
||||
|
||||
Reference in New Issue
Block a user