2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 14:07:59 +00:00

removed cruft that caused a memory leak

This commit is contained in:
Brian Wellington
2000-12-06 00:38:12 +00:00
parent d7f98c32d3
commit dd380f3dca

View File

@@ -17,7 +17,7 @@
* PERFORMANCE OF THIS SOFTWARE. * PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: dnssec-signzone.c,v 1.113 2000/11/09 18:39:46 bwelling Exp $ */ /* $Id: dnssec-signzone.c,v 1.114 2000/12/06 00:38:12 bwelling Exp $ */
#include <config.h> #include <config.h>
@@ -176,10 +176,6 @@ keythatsigned(dns_rdata_sig_t *sig) {
if (result != ISC_R_SUCCESS) if (result != ISC_R_SUCCESS)
return (NULL); return (NULL);
key = isc_mem_get(mctx, sizeof(signer_key_t));
if (key == NULL)
fatal("out of memory");
result = dst_key_fromfile(&sig->signer, sig->keyid, sig->algorithm, result = dst_key_fromfile(&sig->signer, sig->keyid, sig->algorithm,
DST_TYPE_PRIVATE, NULL, mctx, &privkey); DST_TYPE_PRIVATE, NULL, mctx, &privkey);
if (result == ISC_R_SUCCESS) { if (result == ISC_R_SUCCESS) {