mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-14 00:10:00 -04:00
1283. [bug] Reference after free error if dns_dispatchmgr_create()
failed.
This commit is contained in:
parent
88c2b83cc5
commit
ddc592d128
2 changed files with 5 additions and 2 deletions
3
CHANGES
3
CHANGES
|
|
@ -1,3 +1,6 @@
|
|||
1283. [bug] Reference after free error if dns_dispatchmgr_create()
|
||||
failed.
|
||||
|
||||
1282. [bug] ns_server_destroy() failed to set *serverp to NULL.
|
||||
|
||||
1281. [func] libbind: ns_sign2() and ns_sign_tcp() now provide
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: dispatch.c,v 1.107 2002/03/07 00:07:27 marka Exp $ */
|
||||
/* $Id: dispatch.c,v 1.108 2002/05/08 06:34:30 marka Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
|
@ -1115,7 +1115,7 @@ dns_dispatchmgr_create(isc_mem_t *mctx, isc_entropy_t *entropy,
|
|||
DESTROYLOCK(&mgr->lock);
|
||||
deallocate:
|
||||
isc_mem_put(mctx, mgr, sizeof(dns_dispatchmgr_t));
|
||||
isc_mem_detach(&mgr->mctx);
|
||||
isc_mem_detach(&mctx);
|
||||
|
||||
return (result);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue