From: Mark Andrews Date: Thu, 17 Sep 2020 05:18:27 +0000 (+1000) Subject: Cleanup connection before detaching X-Git-Tag: v9.17.6~57^2 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=c5c2a4820b6dd705443e42a515cd20fc4293d35b;p=thirdparty%2Fbind9.git Cleanup connection before detaching --- diff --git a/bin/named/controlconf.c b/bin/named/controlconf.c index db755314e93..5d776e638eb 100644 --- a/bin/named/controlconf.c +++ b/bin/named/controlconf.c @@ -383,8 +383,8 @@ control_command(isc_task_t *task, isc_event_t *event) { UNUSED(task); if (listener->controls->shuttingdown) { - isc_nmhandle_detach(&conn->cmdhandle); conn_cleanup(conn); + isc_nmhandle_detach(&conn->cmdhandle); goto done; }