diff options
author | Loganaden Velvindron <logan@cvs.openbsd.org> | 2014-06-29 18:26:27 +0000 |
---|---|---|
committer | Loganaden Velvindron <logan@cvs.openbsd.org> | 2014-06-29 18:26:27 +0000 |
commit | 4badbc4315a9a5659bdb43075052be94821125b5 (patch) | |
tree | f82a54501216aa68c93c8290253a7db2638642fd /lib/libssl | |
parent | 208824604b32310b86c52e9c73bbb2440f9fbeab (diff) |
Free "data" when it's no longer in use.
(Thanks to Brent Cook)
OK from jsing@
Diffstat (limited to 'lib/libssl')
-rw-r--r-- | lib/libssl/src/apps/dsaparam.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libssl/src/apps/dsaparam.c b/lib/libssl/src/apps/dsaparam.c index 8d26137e7ee..18e25d1a219 100644 --- a/lib/libssl/src/apps/dsaparam.c +++ b/lib/libssl/src/apps/dsaparam.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dsaparam.c,v 1.30 2014/06/28 04:39:41 deraadt Exp $ */ +/* $OpenBSD: dsaparam.c,v 1.31 2014/06/29 18:26:26 logan Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -331,6 +331,7 @@ bad: printf("\n\t"); printf("0x%02X, ", data[i]); } + free(data); printf("\n\t};\n\n"); printf("DSA *get_dsa%d()\n\t{\n", bits_p); |