mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
Remove redundant check for listener being non-NULL
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
if (control != NULL) {
|
||||
cfg_obj_log(control, named_g_lctx, ISC_LOG_WARNING,
|
||||
|
Reference in New Issue
Block a user