From: jc815.lee Date: Fri, 2 Aug 2013 04:45:39 +0000 (+0900) Subject: fix prevent issue X-Git-Tag: accepted/tizen/20130912.082418^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7fe386b835bd26de348b45b8d2603218dfb47686;p=platform%2Fcore%2Fsecurity%2Fcert-svc.git fix prevent issue [model] RSA [binary_type] [customer] [issue#] cid : 18974 [problem] [cause] [solution] [team] [request] [horizontal_expansion] Change-Id: I5dff53f05a485e7c19a99ddd27782e4f3421b126 Signed-off-by: jc815.lee --- diff --git a/vcore/src/vcore/pkcs12.c b/vcore/src/vcore/pkcs12.c index 3a17bca..634eeac 100755 --- a/vcore/src/vcore/pkcs12.c +++ b/vcore/src/vcore/pkcs12.c @@ -556,6 +556,9 @@ int c_certsvc_pkcs12_import(const char *path, const char *password, const gchar free_data: g_free(data); + if(dlHandle){ + dlclose(dlHandle); + } clean_cert_chain_and_pkey: EVP_PKEY_free(key); X509_free(cert);