summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-04-27 14:54:58 +0100
committerMatt Caswell <matt@openssl.org>2016-06-01 18:00:53 +0100
commita855d1a155dd88aaf136bdc1deb88e68558b94fd (patch)
tree6f2a49bab77be351c087d57b998b462a8f9cc3e0 /apps
parentb0cb22b07c71c13412c633c816afb5afccdb84b7 (diff)
downloadopenssl-new-a855d1a155dd88aaf136bdc1deb88e68558b94fd.tar.gz
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 <levitte@openssl.org>
Diffstat (limited to 'apps')
-rw-r--r--apps/dsaparam.c1
1 files changed, 1 insertions, 0 deletions
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) {