diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2012-09-11 13:45:11 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2012-09-11 13:45:11 +0000 |
commit | ca461ecd11aafcdbad65f4c8e403bab058111334 (patch) | |
tree | 271d0feac04b95539ea49e7d58d959141398fbfe /apps | |
parent | 0ad9fe2d59f28c2ffda7cac9e4964b60e1af4bda (diff) |
fix memory leak
Diffstat (limited to 'apps')
-rw-r--r-- | apps/s_server.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/s_server.c b/apps/s_server.c index 60c08bec1c..f1cd17a3ff 100644 --- a/apps/s_server.c +++ b/apps/s_server.c @@ -1710,6 +1710,12 @@ end: if (dpass) OPENSSL_free(dpass); #ifndef OPENSSL_NO_TLSEXT + if (tlscstatp.host) + OPENSSL_free(tlscstatp.host); + if (tlscstatp.port) + OPENSSL_free(tlscstatp.port); + if (tlscstatp.path) + OPENSSL_free(tlscstatp.path); if (ctx2 != NULL) SSL_CTX_free(ctx2); if (s_cert2) X509_free(s_cert2); |