diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2012-09-11 13:45:42 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2012-09-11 13:45:42 +0000 |
commit | 92e5882aca53940f883d810bb7116d2083c19045 (patch) | |
tree | fa7b8e19d102b919bc9e9ccd32e4e8fdbe8720e9 /apps | |
parent | afa0580cd5b086b38e413aa479d83dcb11d4e73d (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 d1d3ccc5bc..1f1f317d41 100644 --- a/apps/s_server.c +++ b/apps/s_server.c @@ -1550,6 +1550,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); |