projects
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f3f8a3
)
ui: address potential memory leak
author
Pauli
<pauli@openssl.org>
Fri, 25 Jun 2021 02:56:01 +0000
(12:56 +1000)
committer
Pauli
<pauli@openssl.org>
Sat, 26 Jun 2021 01:33:52 +0000
(11:33 +1000)
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/15910)
crypto/ui/ui_lib.c
patch
|
blob
|
history
diff --git
a/crypto/ui/ui_lib.c
b/crypto/ui/ui_lib.c
index fd03dc6cd06aa9678893daf62d56f745914ab962..7cb91add41991e85a83fbe3478aa5fe311f41b26 100644
(file)
--- a/
crypto/ui/ui_lib.c
+++ b/
crypto/ui/ui_lib.c
@@
-43,7
+43,7
@@
UI *UI_new_method(const UI_METHOD *method)
ret->meth = method;
if (!CRYPTO_new_ex_data(CRYPTO_EX_INDEX_UI, ret, &ret->ex_data)) {
-
OPENSSL
_free(ret);
+
UI
_free(ret);
return NULL;
}
return ret;