diff --git a/src/remote_pairing.c b/src/remote_pairing.c index 4b753068..f7eb2c14 100644 --- a/src/remote_pairing.c +++ b/src/remote_pairing.c @@ -700,16 +700,13 @@ do_pairing(struct remote_info *ri) { DPRINTF(E_WARN, L_REMOTE, "Could not make pairing request\n"); - goto make_request_fail; + goto request_fail; } ri->evcon = evcon; return; - make_request_fail: - evhttp_request_free(req); - request_fail: evhttp_connection_free(evcon);