#
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
This commit is contained in:
irungentoo_trip 2014-10-27 20:57:13 -07:00
commit 70869b601e
2 changed files with 3 additions and 1 deletions

View File

@ -2331,6 +2331,8 @@ void kill_DHT(DHT *dht)
ping_array_free_all(&dht->dht_harden_ping_array);
kill_ping(dht->ping);
free(dht->friends_list);
free(dht->loaded_friends_list);
free(dht->loaded_clients_list);
free(dht);
}

View File

@ -149,7 +149,7 @@ static int is_path_used(const Onion_Client_Paths *onion_paths, const Node_format
}
/* Create a new path or use an old suitable one (if pathnum is valid)
* or a rondom one from onion_paths.
* or a random one from onion_paths.
*
* return -1 on failure
* return 0 on success