chyba mi ;
This commit is contained in:
parent
2b4de3b562
commit
2f6a0b9a09
@ -44,7 +44,7 @@ void free_snake(struct snake* sn){
|
|||||||
clanok = sn;//nacitam aktualny clanok
|
clanok = sn;//nacitam aktualny clanok
|
||||||
sn = sn -> next;//posuniem sa o clanok
|
sn = sn -> next;//posuniem sa o clanok
|
||||||
free(clanok);//vycistim staru ulozenu poziciu
|
free(clanok);//vycistim staru ulozenu poziciu
|
||||||
} while (sn -> next != NULL)
|
} while (sn -> next != NULL);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user