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);
|
free(snake->next);
|
||||||
|
|
||||||
snake->next = NULL;
|
snake->next = NULL;
|
||||||
snake = medzipamat;
|
return medzipamat;
|
||||||
|
|
||||||
free(medzipamat);
|
|
||||||
|
|
||||||
return snake;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user