diff --git a/cv5/a_train.c b/cv5/a_train.c index 23ec151..5f81bed 100644 --- a/cv5/a_train.c +++ b/cv5/a_train.c @@ -56,7 +56,6 @@ struct car* clear_train(struct car* first, const char* target) { int result = strcmp(first->value, target); if(result == 0){ free(first); - free(first->value); return 0; } }