mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Fixed segfault.
This commit is contained in:
parent
17890b1f61
commit
4b480381ee
@ -322,6 +322,7 @@ static void free_connections(void)
|
||||
if (i == 0) {
|
||||
free(connections);
|
||||
connections = NULL;
|
||||
connections_length = i;
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user