projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
GH678: Add a few more zalloc
[openssl.git]
/
crypto
/
lock.c
diff --git
a/crypto/lock.c
b/crypto/lock.c
index 5a42dc909415be0269c5575b8854ec6ea31a669e..aa34202163721f2b69a5528a9702337729c092b1 100644
(file)
--- a/
crypto/lock.c
+++ b/
crypto/lock.c
@@
-249,7
+249,7
@@
int CRYPTO_get_new_dynlockid(void)
}
CRYPTO_w_unlock(CRYPTO_LOCK_DYNLOCK);
- pointer = OPENSSL_
m
alloc(sizeof(*pointer));
+ pointer = OPENSSL_
z
alloc(sizeof(*pointer));
if (pointer == NULL) {
CRYPTOerr(CRYPTO_F_CRYPTO_GET_NEW_DYNLOCKID, ERR_R_MALLOC_FAILURE);
return (0);