mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +00:00
don't free the structure twice (thanks, Andreas)
This commit is contained in:
@@ -16,7 +16,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* $Id: tkey.c,v 1.65 2001/02/05 19:50:42 bwelling Exp $
|
* $Id: tkey.c,v 1.66 2001/02/05 20:29:56 bwelling Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
@@ -735,8 +735,10 @@ dns_tkey_processquery(dns_message_t *msg, dns_tkeyctx_t *tctx,
|
|||||||
}
|
}
|
||||||
|
|
||||||
failure_with_tkey:
|
failure_with_tkey:
|
||||||
if (freetkeyin)
|
if (freetkeyin) {
|
||||||
dns_rdata_freestruct(&tkeyin);
|
dns_rdata_freestruct(&tkeyin);
|
||||||
|
freetkeyin = ISC_FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
RETERR(dns_message_gettemprdata(msg, &rdata));
|
RETERR(dns_message_gettemprdata(msg, &rdata));
|
||||||
RETERR(isc_buffer_allocate(msg->mctx, &dynbuf, 384));
|
RETERR(isc_buffer_allocate(msg->mctx, &dynbuf, 384));
|
||||||
|
Reference in New Issue
Block a user