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:
e73a696
)
Add OPENSSL_free at the end of CRYPTO_destroy_dynlockid.
author
Bodo Möller
<bodo@openssl.org>
Mon, 19 Jun 2000 13:53:15 +0000
(13:53 +0000)
committer
Bodo Möller
<bodo@openssl.org>
Mon, 19 Jun 2000 13:53:15 +0000
(13:53 +0000)
crypto/cryptlib.c
patch
|
blob
|
history
diff --git
a/crypto/cryptlib.c
b/crypto/cryptlib.c
index 4bad40c2dfe3423c415c5b15213bb1ab2e13ac8c..f5e44311f48deaf725e2910aa6dcefdd057508c9 100644
(file)
--- a/
crypto/cryptlib.c
+++ b/
crypto/cryptlib.c
@@
-246,7
+246,10
@@
void CRYPTO_destroy_dynlockid(int i)
CRYPTO_w_unlock(CRYPTO_LOCK_DYNLOCK);
if (pointer)
+ {
dynlock_destroy_callback(pointer->data,__FILE__,__LINE__);
+ OPENSSL_free(pointer);
+ }
}
struct CRYPTO_dynlock_value *CRYPTO_get_dynlock_value(int i)