fixup! checkpoint: convert dig to use netmgr for TCP

This commit is contained in:
Evan Hunt
2020-07-14 23:36:57 -07:00
parent eea946e741
commit 34b0bb84ca

View File

@@ -3244,7 +3244,9 @@ tcp_connected(isc_nmhandle_t *handle, isc_result_t eresult, void *arg) {
if (exitcode < 9) {
exitcode = 9;
}
isc_nmhandle_unref(handle);
if (handle != NULL) {
isc_nmhandle_unref(handle);
}
l = query->lookup;
if ((l->current_query != NULL) &&
(ISC_LINK_LINKED(l->current_query, link))) {