diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2012-09-11 13:44:38 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2012-09-11 13:44:38 +0000 |
commit | f929f201fb7baf9887b777479d31c6cc35065cd9 (patch) | |
tree | f450c60d2a0aea08205b841d45bd5692c40b7bea /apps | |
parent | 554cf97f038f8dcc25c781fea8e9053459593abc (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 f15cd20914..30c8b5dbf5 100644 --- a/apps/s_server.c +++ b/apps/s_server.c @@ -1893,6 +1893,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); |