summaryrefslogtreecommitdiffstats
path: root/test/dtlsv1listentest.c
diff options
context:
space:
mode:
authorKurt Roeckx <kurt@roeckx.be>2016-02-06 20:31:15 +0100
committerKurt Roeckx <kurt@roeckx.be>2016-02-06 21:45:24 +0100
commit026e012b3d1aadb754e40b52250ea0d3be4eff6d (patch)
tree388ff70397bd5e31fb2d680fbae1945b5425fee0 /test/dtlsv1listentest.c
parentd1b105827aef49ae16fd2d321bafa92b1a6489c9 (diff)
Fix memory leak in dtlsv1listentest
Reviewed-by: Rich Salz <rsalz@openssl.org> MR: #1879
Diffstat (limited to 'test/dtlsv1listentest.c')
-rw-r--r--test/dtlsv1listentest.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/dtlsv1listentest.c b/test/dtlsv1listentest.c
index 5069dd505d..3e3939fb69 100644
--- a/test/dtlsv1listentest.c
+++ b/test/dtlsv1listentest.c
@@ -460,6 +460,7 @@ int main(void)
SSL_free(ssl);
SSL_CTX_free(ctx);
BIO_free(inbio);
+ OPENSSL_free(peer);
/* Unitialise libssl */
#ifndef OPENSSL_NO_ENGINE
ENGINE_cleanup();