mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
Merge branch '2003-remove-redundant-listener-null-check' into 'main'
Resolve "Remove redundant listener != NULL check" Closes #2003 See merge request isc-projects/bind9!3806
This commit is contained in:
commit
b02c3e4f8e
1 changed files with 2 additions and 4 deletions
|
|
@ -1256,10 +1256,8 @@ add_listener(named_controls_t *cp, controllistener_t **listenerp,
|
|||
"command channel listening on %s", socktext);
|
||||
*listenerp = listener;
|
||||
} else {
|
||||
if (listener != NULL) {
|
||||
listener->exiting = true;
|
||||
free_listener(listener);
|
||||
}
|
||||
listener->exiting = true;
|
||||
free_listener(listener);
|
||||
|
||||
if (control != NULL) {
|
||||
cfg_obj_log(control, named_g_lctx, ISC_LOG_WARNING,
|
||||
|
|
|
|||
Loading…
Reference in a new issue