diff --git a/src/aevol_create.cpp b/src/aevol_create.cpp index 06ef1d90e451a51b2a905d42bff348d6e1d4d51d..ffaf30cab928cea85f9ca83a1ca1362c7a1fcc51 100644 --- a/src/aevol_create.cpp +++ b/src/aevol_create.cpp @@ -97,6 +97,7 @@ int main(int argc, char* argv[]) { strncpy(chromosome, raw_chromosome, lchromosome + 1); printf("Loading chromosome from text file %s (%" PRId32 " base pairs) \n", chromosome_file_name, lchromosome); + delete [] chromosome_file_name; fclose(chromosome_file); }