mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 05:57:52 +00:00
minor fix, cf 20295
This commit is contained in:
parent
54f0466614
commit
adb6972f01
@ -15,7 +15,7 @@
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: zone.c,v 1.506 2009/09/10 23:48:00 tbox Exp $ */
|
||||
/* $Id: zone.c,v 1.507 2009/09/22 08:38:14 fdupont Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
@ -12912,7 +12912,8 @@ zone_signwithkey(dns_zone_t *zone, dns_secalg_t algorithm, isc_uint16_t keyid,
|
||||
|
||||
cleanup:
|
||||
if (signing != NULL) {
|
||||
dns_db_detach(&signing->db);
|
||||
if (signing->db != NULL)
|
||||
dns_db_detach(&signing->db);
|
||||
if (signing->dbiterator != NULL)
|
||||
dns_dbiterator_destroy(&signing->dbiterator);
|
||||
isc_mem_put(zone->mctx, signing, sizeof *signing);
|
||||
|
Loading…
x
Reference in New Issue
Block a user