diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2018-11-10 01:43:04 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2018-11-10 01:43:04 +0000 |
commit | d47b40ab3555380d9b9364838935db376bed33fc (patch) | |
tree | ffe9a52ca82b3a0dc5033916233bd818a3fa2df4 /regress/lib/libcrypto | |
parent | 928e856c8e70396c82d96daa77cf1a452f87bc0b (diff) |
Fix a leak reported by Ben L bobsayshilol () live ! co ! uk.
Diffstat (limited to 'regress/lib/libcrypto')
-rw-r--r-- | regress/lib/libcrypto/x509/x509name.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/regress/lib/libcrypto/x509/x509name.c b/regress/lib/libcrypto/x509/x509name.c index 4ff8ac69080..c9c96d4ec89 100644 --- a/regress/lib/libcrypto/x509/x509name.c +++ b/regress/lib/libcrypto/x509/x509name.c @@ -1,4 +1,4 @@ -/* $OpenBSD: x509name.c,v 1.1 2018/04/07 13:54:46 schwarze Exp $ */ +/* $OpenBSD: x509name.c,v 1.2 2018/11/10 01:43:03 tb Exp $ */ /* * Copyright (c) 2018 Ingo Schwarze <schwarze@openbsd.org> * @@ -55,5 +55,7 @@ main(void) "DE", -1, 0, 1); debug_print(name); + X509_NAME_free(name); + return 0; } |