1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-09-28 14:16:53 +02:00

fix segfault

This commit is contained in:
Jfreegman
2014-09-29 01:30:22 -04:00
parent 33cfca7ecc
commit 6248baf98b
2 changed files with 2 additions and 2 deletions

View File

@@ -114,7 +114,7 @@ void kill_friendlist(void)
{
int i;
for (i = 0; i <= Friends.max_idx; ++i) {
for (i = 0; i < Friends.max_idx; ++i) {
if (Friends.list[i].active && Friends.list[i].group_invite.key != NULL)
free(Friends.list[i].group_invite.key);
}