diff --git a/src/feature/relay/selftest.c b/src/feature/relay/selftest.c index a791079bd8..d029c05053 100644 --- a/src/feature/relay/selftest.c +++ b/src/feature/relay/selftest.c @@ -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.",