2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

handle freestruct(.. mctx = NULL);

This commit is contained in:
Mark Andrews
2000-05-18 05:46:52 +00:00
parent edb8ffbbf3
commit 206c71aae4

View File

@@ -15,7 +15,7 @@
* SOFTWARE.
*/
/* $Id: soa_6.c,v 1.36 2000/05/05 05:50:07 marka Exp $ */
/* $Id: soa_6.c,v 1.37 2000/05/18 05:46:52 marka Exp $ */
/* Reviewed: Thu Mar 16 15:18:32 PST 2000 by explorer */
@@ -327,6 +327,9 @@ freestruct_soa(void *source)
REQUIRE(source != NULL);
REQUIRE(soa->common.rdtype == 6);
if (soa->mctx == NULL)
return;
dns_name_free(&soa->origin, soa->mctx);
dns_name_free(&soa->mname, soa->mctx);
soa->mctx = NULL;