domaca_uloha_7
This commit is contained in:
parent
22f3b73b8b
commit
e3074a479d
@ -33,7 +33,11 @@ struct snake* remove_snake(struct snake* snake){
|
|||||||
}
|
}
|
||||||
free(snake->next->next);
|
free(snake->next->next);
|
||||||
snake->next = NULL;
|
snake->next = NULL;
|
||||||
return medzipamat;
|
snake = medzipamat;
|
||||||
|
|
||||||
|
free(medzipamat);
|
||||||
|
|
||||||
|
return snake;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user