projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ad9fe2
)
fix memory leak
author
Dr. Stephen Henson
<steve@openssl.org>
Tue, 11 Sep 2012 13:45:11 +0000
(13:45 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Tue, 11 Sep 2012 13:45:11 +0000
(13:45 +0000)
apps/s_server.c
patch
|
blob
|
history
diff --git
a/apps/s_server.c
b/apps/s_server.c
index 60c08bec1c919ab0a76e655f4d3001e250addb77..f1cd17a3ffe5b3f49d7405c5ef9a4d72b87b7fa9 100644
(file)
--- 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);