domaca_uloha_7

This commit is contained in:
Tomáš Vasiľ 2022-04-26 21:46:15 +02:00
parent b0037f417c
commit 90019a464d

View File

@ -32,11 +32,7 @@ struct snake* remove_snake(struct snake* snake){
free(snake->next);
snake->next = NULL;
snake = medzipamat;
free(medzipamat);
return snake;
return medzipamat;
}
}