diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2001-10-04 14:34:17 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2001-10-04 14:34:17 +0000 |
commit | d19715f97a11130b4f8db0593a53511136b5093b (patch) | |
tree | 01bf20645f4a8e5b9153c73c4b6da0c0775010a0 /usr.bin/ssh | |
parent | 6893f7ad37a13fd466a6fab0517401c7175fe736 (diff) |
call OPENSSL_free() for memory allocated by openssl; from chombier@mac.com
Diffstat (limited to 'usr.bin/ssh')
-rw-r--r-- | usr.bin/ssh/key.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/key.c b/usr.bin/ssh/key.c index 5c711b9d797..57df5b93aef 100644 --- a/usr.bin/ssh/key.c +++ b/usr.bin/ssh/key.c @@ -32,7 +32,7 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "includes.h" -RCSID("$OpenBSD: key.c,v 1.32 2001/09/19 13:23:29 markus Exp $"); +RCSID("$OpenBSD: key.c,v 1.33 2001/10/04 14:34:16 markus Exp $"); #include <openssl/evp.h> @@ -354,7 +354,7 @@ write_bignum(FILE *f, BIGNUM *num) return 0; } fprintf(f, " %s", buf); - xfree(buf); + OPENSSL_free(buf); return 1; } |