diff options
author | Maxim Biro <nurupo.contributions@gmail.com> | 2014-01-20 14:09:20 -0500 |
---|---|---|
committer | Maxim Biro <nurupo.contributions@gmail.com> | 2014-01-20 14:09:20 -0500 |
commit | b67d6bd024de4816843a95c74ee903242af44423 (patch) | |
tree | 503f4ab3301039041ac352a07227d8c25481c7bf /other/bootstrap_serverdaemon | |
parent | 522f90fee138087db660dccc08413c53f388f604 (diff) |
Fixed missing cleanup
Diffstat (limited to 'other/bootstrap_serverdaemon')
-rw-r--r-- | other/bootstrap_serverdaemon/tox_dht_bootstrap_server_daemon.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/other/bootstrap_serverdaemon/tox_dht_bootstrap_server_daemon.c b/other/bootstrap_serverdaemon/tox_dht_bootstrap_server_daemon.c index 5fbe83fa..77003e35 100644 --- a/other/bootstrap_serverdaemon/tox_dht_bootstrap_server_daemon.c +++ b/other/bootstrap_serverdaemon/tox_dht_bootstrap_server_daemon.c | |||
@@ -224,6 +224,7 @@ int bootstrap_from_config(char *cfg_file_path, DHT *dht, int enable_ipv6) | |||
224 | server = config_setting_get_elem(server_list, 0); | 224 | server = config_setting_get_elem(server_list, 0); |
225 | 225 | ||
226 | if (server == NULL) { | 226 | if (server == NULL) { |
227 | config_destroy(&cfg); | ||
227 | return 0; | 228 | return 0; |
228 | } | 229 | } |
229 | 230 | ||