aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/credentials/sets/auth_info_wrapper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/charon/credentials/sets/auth_info_wrapper.c')
-rw-r--r--src/charon/credentials/sets/auth_info_wrapper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/charon/credentials/sets/auth_info_wrapper.c b/src/charon/credentials/sets/auth_info_wrapper.c
index 9307ff23f..7ec75be15 100644
--- a/src/charon/credentials/sets/auth_info_wrapper.c
+++ b/src/charon/credentials/sets/auth_info_wrapper.c
@@ -83,6 +83,7 @@ static bool fetch_cert(wrapper_enumerator_t *enumerator, auth_item_t *type, void
cert = lib->creds->create(lib->creds, CRED_CERTIFICATE, CERT_X509,
BUILD_BLOB_ASN1_DER, data, BUILD_END);
+ free(data.ptr);
if (!cert)
{