diff --git a/src/backend.c b/src/backend.c index 6f9557563..e9f360530 100644 --- a/src/backend.c +++ b/src/backend.c @@ -1108,6 +1108,8 @@ static int conn_complete_server(struct connection *conn) return 0; fail: + si_detach_endpoint(&s->si[1]); + if (cs) cs_free(cs); /* kill the connection now */