diff --git a/lib/dns/client.c b/lib/dns/client.c index 8913c8e503..644b7ee263 100644 --- a/lib/dns/client.c +++ b/lib/dns/client.c @@ -14,7 +14,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: client.c,v 1.11 2010/12/02 23:22:41 marka Exp $ */ +/* $Id: client.c,v 1.12 2010/12/03 12:03:22 marka Exp $ */ #include @@ -1425,7 +1425,7 @@ dns_client_addtrustedkey(dns_client_t *client, dns_rdataclass_t rdclass, cleanup: if (dstkey != NULL) - dns_key_free(&dstkey); + dst_key_free(&dstkey); if (view != NULL) dns_view_detach(&view); if (secroots != NULL) diff --git a/lib/export/samples/sample-update.c b/lib/export/samples/sample-update.c index a24a29dd5e..62fcb26b94 100644 --- a/lib/export/samples/sample-update.c +++ b/lib/export/samples/sample-update.c @@ -14,7 +14,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: sample-update.c,v 1.7 2010/12/02 23:46:56 tbox Exp $ */ +/* $Id: sample-update.c,v 1.8 2010/12/03 12:03:22 marka Exp $ */ #include @@ -747,7 +747,7 @@ setup_tsec(char *keyfile, isc_mem_t *mctx) { result = dns_tsec_create(mctx, tsectype, dstkey, &tsec); if (result != ISC_R_SUCCESS) { - dns_key_free(&dstkey); + dst_key_free(&dstkey); fprintf(stderr, "could not create tsec: %s\n", isc_result_totext(result)); exit(1);