control_respond fails to detach from cmdhandle on error

This commit is contained in:
Mark Andrews
2020-09-17 15:52:19 +10:00
parent 459ded8b5a
commit d988383b4a

View File

@@ -371,8 +371,10 @@ control_respond(isc_nmhandle_t *handle, isc_result_t result, void *arg) {
}
return;
cleanup:
conn_cleanup(conn);
isc_nmhandle_detach(&conn->cmdhandle);
}
static void