List cleanup.

This commit is contained in:
Ian Gulliver
2016-03-02 18:52:02 -08:00
parent e124977713
commit e2fd6be394
3 changed files with 3 additions and 0 deletions

View File

@@ -146,6 +146,7 @@ static void outgoing_del(struct outgoing *outgoing) {
if (outgoing->peer.fd >= 0) {
assert(!close(outgoing->peer.fd));
}
list_del(&outgoing->outgoing_list);
free(outgoing->node);
free(outgoing->service);
free(outgoing);