From 3ff32fafa12d2aaa05965a3f57bd7db6ddd3c7f4 Mon Sep 17 00:00:00 2001 From: Maryna Kravtsova Date: Tue, 3 Nov 2020 18:11:41 +0100 Subject: [PATCH] clear --- cv5/a_train.c | 1 - 1 file changed, 1 deletion(-) 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; } }