X-Git-Url: https://git.distorted.org.uk/~mdw/tripe/blobdiff_plain/4998da611d93532c3c35ca879689fb5d9b21e0b7..1a0b1e9f13b9c46de6b5bc6bfe43da1c489e199e:/server/keymgmt.c diff --git a/server/keymgmt.c b/server/keymgmt.c index e31e45da..50abd5d1 100644 --- a/server/keymgmt.c +++ b/server/keymgmt.c @@ -598,7 +598,7 @@ foundko: kd = CREATE(kdata); if (kh->load(*ko, *d, kd, &t, &e)) { a_warn("KEYMGMT", "%s-keyring", kh->kind, - "%s", kh->kr, "key" "%s", t.buf, + "%s", kh->kr, "key", "%s", t.buf, "*%s", e.buf, A_END); goto fail_1; } @@ -883,6 +883,7 @@ void km_unref(kdata *kd) G_DESTROY(kd->g, kd->kpub); xfree(kd->tag); G_DESTROYGROUP(kd->g); + DESTROY(kd); } /*----- That's all, folks -------------------------------------------------*/