From: Kurt Roeckx Date: Sat, 6 Feb 2016 19:31:15 +0000 (+0100) Subject: Fix memory leak in dtlsv1listentest X-Git-Tag: OpenSSL_1_1_0-pre3~221 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=026e012b3d1aadb754e40b52250ea0d3be4eff6d;p=oweals%2Fopenssl.git Fix memory leak in dtlsv1listentest Reviewed-by: Rich Salz MR: #1879 --- 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();