diff --git a/du4/snake.c b/du4/snake.c index e83009a..11fc4f1 100644 --- a/du4/snake.c +++ b/du4/snake.c @@ -44,7 +44,7 @@ void free_snake(struct snake* sn){ clanok = sn;//nacitam aktualny clanok sn = sn -> next;//posuniem sa o clanok free(clanok);//vycistim staru ulozenu poziciu - } while (sn -> next != NULL) + } while (sn -> next != NULL); }