projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f13ee2
)
avoid memory leak
author
Bodo Möller
<bodo@openssl.org>
Fri, 3 Nov 2000 15:40:10 +0000
(15:40 +0000)
committer
Bodo Möller
<bodo@openssl.org>
Fri, 3 Nov 2000 15:40:10 +0000
(15:40 +0000)
crypto/dso/dso_lib.c
patch
|
blob
|
history
diff --git
a/crypto/dso/dso_lib.c
b/crypto/dso/dso_lib.c
index 364ddbdb37179e7c22acb2f65bca7eeff7be4993..ef39a528c7c2496afa16bc12e0fda6d2c3776782 100644
(file)
--- a/
crypto/dso/dso_lib.c
+++ b/
crypto/dso/dso_lib.c
@@
-108,7
+108,7
@@
DSO *DSO_new_method(DSO_METHOD *meth)
}
memset(ret, 0, sizeof(DSO));
ret->meth_data = sk_new_null();
- if(
(ret->meth_data = sk_new_null())
== NULL)
+ if(
ret->meth_data
== NULL)
{
/* sk_new doesn't generate any errors so we do */
DSOerr(DSO_F_DSO_NEW_METHOD,ERR_R_MALLOC_FAILURE);