From 8652d1c22ef0be8afde17d44495901ac513063a1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bodo=20M=C3=B6ller?= Date: Sun, 6 Feb 2000 02:48:53 +0000 Subject: [PATCH] Memory leak. --- apps/gendsa.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/gendsa.c b/apps/gendsa.c index 44d2b42a05..49ae0a0676 100644 --- a/apps/gendsa.c +++ b/apps/gendsa.c @@ -158,6 +158,7 @@ bad: goto end; } BIO_free(in); + in = NULL; out=BIO_new(BIO_s_file()); if (out == NULL) goto end; @@ -193,6 +194,7 @@ bad: end: if (ret != 0) ERR_print_errors(bio_err); + if (in != NULL) BIO_free(in); if (out != NULL) BIO_free(out); if (dsa != NULL) DSA_free(dsa); EXIT(ret); -- 2.25.1