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) {