diff --git a/cv5/a_train.c b/cv5/a_train.c index da442db..cb8108c 100644 --- a/cv5/a_train.c +++ b/cv5/a_train.c @@ -41,8 +41,8 @@ void cancel_train(struct car* first) { free(temp); temp=next; } - first=NULL; } + first=NULL; } //Funkcia na zrušenie spojkového zoznamu môže pracovať rekurzívne: diff --git a/cv5/train.exe b/cv5/train.exe index 67b01e1..745be48 100644 Binary files a/cv5/train.exe and b/cv5/train.exe differ