fix prevent issue
authorjc815.lee <jc815.lee@samsung.com>
Fri, 2 Aug 2013 04:45:39 +0000 (13:45 +0900)
committerjc815.lee <jc815.lee@samsung.com>
Fri, 2 Aug 2013 04:52:43 +0000 (13:52 +0900)
[model] RSA
[binary_type]
[customer]
[issue#] cid : 18974
[problem]
[cause]
[solution]
[team]
[request]
[horizontal_expansion]

Change-Id: I5dff53f05a485e7c19a99ddd27782e4f3421b126
Signed-off-by: jc815.lee <jc815.lee@samsung.com>
vcore/src/vcore/pkcs12.c

index 3a17bca..634eeac 100755 (executable)
@@ -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);