Commit dd380f3d authored by Brian Wellington's avatar Brian Wellington
Browse files

removed cruft that caused a memory leak

parent d7f98c32
......@@ -17,7 +17,7 @@
* 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>
......@@ -176,10 +176,6 @@ keythatsigned(dns_rdata_sig_t *sig) {
if (result != ISC_R_SUCCESS)
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,
DST_TYPE_PRIVATE, NULL, mctx, &privkey);
if (result == ISC_R_SUCCESS) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment