From 997616c6291f6d1d219fabbffa030339b097ec0a Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Sat, 18 Aug 2018 13:52:20 +0200 Subject: [PATCH] Fixed delete array. --- src/vmime/security/cert/openssl/X509Certificate_OpenSSL.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vmime/security/cert/openssl/X509Certificate_OpenSSL.cpp b/src/vmime/security/cert/openssl/X509Certificate_OpenSSL.cpp index 90de3568..a05e61d4 100644 --- a/src/vmime/security/cert/openssl/X509Certificate_OpenSSL.cpp +++ b/src/vmime/security/cert/openssl/X509Certificate_OpenSSL.cpp @@ -454,7 +454,7 @@ const datetime X509Certificate_OpenSSL::convertX509Date(void* time) const vmime::string t(dest); BIO_free(out); - delete dest; + delete [] dest; if (t.size() > 0) {