From 026e012b3d1aadb754e40b52250ea0d3be4eff6d Mon Sep 17 00:00:00 2001 From: Kurt Roeckx Date: Sat, 6 Feb 2016 20:31:15 +0100 Subject: [PATCH] Fix memory leak in dtlsv1listentest Reviewed-by: Rich Salz MR: #1879 --- test/dtlsv1listentest.c | 1 + 1 file changed, 1 insertion(+) 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(); -- GitLab