Merge branch '2155-reference-leak-on-error-in-controlconf-c-control_respond' into 'main'

Resolve "reference leak on error in controlconf.c:control_respond"

Closes #2155

See merge request isc-projects/bind9!4135
This commit is contained in:
Mark Andrews 2020-09-17 07:00:33 +00:00
commit 41b96b024f

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