mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
- Make isc_mutex_destroy return void
- Make isc_mutexblock_init/destroy return void - Minor cleanups
This commit is contained in:
@@ -309,7 +309,7 @@ isc_httpdmgr_create(isc_mem_t *mctx, isc_socket_t *sock, isc_task_t *task,
|
||||
isc_task_detach(&httpdmgr->task);
|
||||
isc_socket_detach(&httpdmgr->sock);
|
||||
isc_mem_detach(&httpdmgr->mctx);
|
||||
(void)isc_mutex_destroy(&httpdmgr->lock);
|
||||
isc_mutex_destroy(&httpdmgr->lock);
|
||||
isc_mem_put(mctx, httpdmgr, sizeof(isc_httpdmgr_t));
|
||||
return (result);
|
||||
}
|
||||
@@ -357,7 +357,7 @@ httpdmgr_destroy(isc_httpdmgr_t *httpdmgr) {
|
||||
}
|
||||
|
||||
UNLOCK(&httpdmgr->lock);
|
||||
(void)isc_mutex_destroy(&httpdmgr->lock);
|
||||
isc_mutex_destroy(&httpdmgr->lock);
|
||||
|
||||
if (httpdmgr->ondestroy != NULL)
|
||||
(httpdmgr->ondestroy)(httpdmgr->cb_arg);
|
||||
|
Reference in New Issue
Block a user