mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Fixed missing cleanup
This commit is contained in:
parent
522f90fee1
commit
b67d6bd024
@ -224,6 +224,7 @@ int bootstrap_from_config(char *cfg_file_path, DHT *dht, int enable_ipv6)
|
||||
server = config_setting_get_elem(server_list, 0);
|
||||
|
||||
if (server == NULL) {
|
||||
config_destroy(&cfg);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user