From 10c3707b49e05294e538c2021a58768a7d2dc3b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Wed, 18 Apr 2007 20:36:35 +0000 Subject: [PATCH] free template git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20407 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/hx509/hxtool.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/hx509/hxtool.c b/lib/hx509/hxtool.c index 4ff047e13..90cfe653e 100644 --- a/lib/hx509/hxtool.c +++ b/lib/hx509/hxtool.c @@ -1506,6 +1506,8 @@ hxtool_ca(struct certificate_sign_options *opt, int argc, char **argv) ret = hx509_ca_tbs_set_template(context, tbs, flags, template); if (ret) hx509_err(context, 1, ret, "hx509_ca_tbs_set_template"); + + hx509_cert_free(template); } if (opt->serial_number_string) {