summaryrefslogtreecommitdiff
path: root/bin/nsupdate
diff options
context:
space:
mode:
authorInternet Software Consortium, Inc <@isc.org>2011-08-20 17:00:04 -0600
committerInternet Software Consortium, Inc <@isc.org>2011-08-20 17:00:04 -0600
commitb96d0b74187757909006c14942550e922e87f9f9 (patch)
tree692f13dda01fd658e397f6e00b4b492fb816698d /bin/nsupdate
parent9dcbbb59f37cea46ceed2b8093280e5e23a3f498 (diff)
downloadbind9-b96d0b74187757909006c14942550e922e87f9f9.tar.gz
9.8.1b2
Diffstat (limited to 'bin/nsupdate')
-rw-r--r--bin/nsupdate/nsupdate.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/nsupdate/nsupdate.c b/bin/nsupdate/nsupdate.c
index f7a1e4a1..058088c8 100644
--- a/bin/nsupdate/nsupdate.c
+++ b/bin/nsupdate/nsupdate.c
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: nsupdate.c,v 1.193.12.2 2011-03-21 19:53:33 each Exp $ */
+/* $Id: nsupdate.c,v 1.193.12.3 2011-05-23 22:12:14 each Exp $ */
/*! \file */
@@ -695,8 +695,10 @@ setup_keyfile(isc_mem_t *mctx, isc_log_t *lctx) {
keyfile, isc_result_totext(result));
return;
}
- } else
+ } else {
dst_key_attach(dstkey, &sig0key);
+ dst_key_free(&dstkey);
+ }
}
static void