From: Matt Caswell Date: Wed, 27 Apr 2016 13:54:58 +0000 (+0100) Subject: Free a temporary buffer used by dsaparam application X-Git-Tag: OpenSSL_1_1_0-pre6~609 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=a855d1a155dd88aaf136bdc1deb88e68558b94fd;hp=b0cb22b07c71c13412c633c816afb5afccdb84b7 Free a temporary buffer used by dsaparam application The dsaparam application allocates a temporary buffer but then doesn't free it. Reviewed-by: Richard Levitte --- diff --git a/apps/dsaparam.c b/apps/dsaparam.c index c12bd7046a..cd2ca4c3f7 100644 --- a/apps/dsaparam.c +++ b/apps/dsaparam.c @@ -244,6 +244,7 @@ int dsaparam_main(int argc, char **argv) " return NULL;\n" " }\n" " return(dsa);\n}\n"); + OPENSSL_free(data); } if (!noout) {