domaca_uloha_7
This commit is contained in:
parent
b0037f417c
commit
90019a464d
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user