mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-13 17:20:01 -04:00
1284. [bug] Memory leak if dns_db_beginload() failed.
This commit is contained in:
parent
ddc592d128
commit
29f5bb81e2
2 changed files with 4 additions and 2 deletions
2
CHANGES
2
CHANGES
|
|
@ -1,3 +1,5 @@
|
|||
1284. [bug] Memory leak if dns_db_beginload() failed.
|
||||
|
||||
1283. [bug] Reference after free error if dns_dispatchmgr_create()
|
||||
failed.
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: zone.c,v 1.367 2002/04/02 08:04:42 marka Exp $ */
|
||||
/* $Id: zone.c,v 1.368 2002/05/08 06:51:49 marka Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
|
@ -1170,7 +1170,7 @@ zone_startload(dns_db_t *db, dns_zone_t *zone, isc_time_t loadtime) {
|
|||
result = dns_db_beginload(db, &callbacks.add,
|
||||
&callbacks.add_private);
|
||||
if (result != ISC_R_SUCCESS)
|
||||
return (result);
|
||||
goto cleanup;
|
||||
options = DNS_MASTER_MANYERRORS|DNS_MASTER_ZONE;
|
||||
if (zone->type == dns_zone_slave)
|
||||
options |= DNS_MASTER_SLAVE;
|
||||
|
|
|
|||
Loading…
Reference in a new issue