From 40504548807c9e69fbf8e3537439425bf86046df Mon Sep 17 00:00:00 2001 From: Maryna Kravtsova Date: Thu, 5 Nov 2020 15:43:24 +0100 Subject: [PATCH] clear --- cv5/a_train.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cv5/a_train.c b/cv5/a_train.c index 6dd4842..3365ec0 100644 --- a/cv5/a_train.c +++ b/cv5/a_train.c @@ -89,8 +89,8 @@ struct car* clear_train(struct car* first, const char* target) { return prev; } - free(prev->next); - prev->next = NULL; + //free(prev->next); + //prev->next = NULL; }