summaryrefslogtreecommitdiffstats
path: root/crypto/ts
diff options
context:
space:
mode:
authorBen Laurie <ben@links.org>2014-04-22 12:38:26 +0100
committerBen Laurie <ben@links.org>2014-04-22 17:00:52 +0100
commit3b21abfd6c985dc04415893c8ec287676cbd5b5d (patch)
tree5e460a6f2f82dc8c148d0804efe631c13fce6d3c /crypto/ts
parent5aeb43393be459b8621fc4710135d5206e0961a7 (diff)
Fix double frees.
Conflicts: CHANGES
Diffstat (limited to 'crypto/ts')
-rw-r--r--crypto/ts/ts_rsp_verify.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/ts/ts_rsp_verify.c b/crypto/ts/ts_rsp_verify.c
index afe16afbe4..3c7f816d12 100644
--- a/crypto/ts/ts_rsp_verify.c
+++ b/crypto/ts/ts_rsp_verify.c
@@ -629,6 +629,7 @@ static int TS_compute_imprint(BIO *data, TS_TST_INFO *tst_info,
X509_ALGOR_free(*md_alg);
OPENSSL_free(*imprint);
*imprint_len = 0;
+ *imprint = 0;
return 0;
}