Commit 222fbba4 authored by David Goulet's avatar David Goulet 🤘
Browse files

relay: Fix memory leak on BUG() code path

Introduced in bf10206e

 which is not
released yet thus no changes file.

Found by Coverity with cid #1495786.

Fixes #40532

Signed-off-by: David Goulet's avatarDavid Goulet <dgoulet@torproject.org>
parent 8e407e33
Pipeline #24117 passed with stage
in 38 minutes
......@@ -256,6 +256,7 @@ router_do_orport_reachability_checks(const routerinfo_t *me,
const tor_addr_port_t *ap = extend_info_get_orport(ei, family);
if (BUG(!ap)) {
/* Not much we can do here to recover apart from screaming loudly. */
extend_info_free(ei);
return;
}
log_info(LD_CIRC, "Testing %s of my %s ORPort: %s.",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment