aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2018-08-18 11:52:20 +0000
committerVincent Richard <[email protected]>2018-08-18 11:52:20 +0000
commit997616c6291f6d1d219fabbffa030339b097ec0a (patch)
tree8bbb285070ce2e9eb35cb6bcfb9d6787fc68ec73 /src
parentFixed compilation errors with OpenSSL 1.1.0. (diff)
downloadvmime-997616c6291f6d1d219fabbffa030339b097ec0a.tar.gz
vmime-997616c6291f6d1d219fabbffa030339b097ec0a.zip
Fixed delete array.
Diffstat (limited to 'src')
-rw-r--r--src/vmime/security/cert/openssl/X509Certificate_OpenSSL.cpp2
1 files changed, 1 insertions, 1 deletions
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)
{