From 14f0ca5fb6ec6667d188be2f2eb196a68a058059 Mon Sep 17 00:00:00 2001 From: Marcel Poul Date: Sat, 10 Nov 2012 16:56:36 +0000 Subject: [PATCH] It is always a bad idea to free pointer got through the API --- emi.canl.canl-c/src/canl_cred.c | 1 - 1 file changed, 1 deletion(-) diff --git a/emi.canl.canl-c/src/canl_cred.c b/emi.canl.canl-c/src/canl_cred.c index 3a5ab8d..83d4330 100644 --- a/emi.canl.canl-c/src/canl_cred.c +++ b/emi.canl.canl-c/src/canl_cred.c @@ -558,7 +558,6 @@ canl_cred_save_cert(canl_ctx ctx, canl_cred cred, X509 ** cert) " handler"); if (*cert) { - X509_free(*cert); *cert = NULL; } -- 1.8.2.3