mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 13:38:26 +00:00
only call shutdown callback if non-NULL
This commit is contained in:
parent
3dbebbfe6e
commit
0eebe5cfe3
@ -437,7 +437,8 @@ listener_destroy(omapi_object_t *listener) {
|
|||||||
* Somehow this callback stuff (or its "event" equivalent) needs to
|
* Somehow this callback stuff (or its "event" equivalent) needs to
|
||||||
* go into object_dereference.
|
* go into object_dereference.
|
||||||
*/
|
*/
|
||||||
(*l->callback)(l->callback_arg);
|
if (l->callback != NULL)
|
||||||
|
(*l->callback)(l->callback_arg);
|
||||||
}
|
}
|
||||||
|
|
||||||
static isc_result_t
|
static isc_result_t
|
||||||
|
Loading…
x
Reference in New Issue
Block a user