list_delete() already free()s the deleted element.
This commit is contained in:
parent
9fdf4278f8
commit
cef40b8b97
1 changed files with 0 additions and 1 deletions
|
@ -630,7 +630,6 @@ void setup_outgoing_connection(outgoing_t *outgoing) {
|
||||||
|
|
||||||
remove:
|
remove:
|
||||||
list_delete(outgoing_list, outgoing);
|
list_delete(outgoing_list, outgoing);
|
||||||
free(outgoing);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue