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:
5d5eed4
)
Grouped data declarations [skip ci]
author
Dmitry Kostjuchenko
<dmitrykos@neutroncode.com>
Wed, 1 Feb 2017 10:51:34 +0000
(12:51 +0200)
committer
Richard Levitte
<levitte@openssl.org>
Fri, 3 Feb 2017 12:48:44 +0000
(13:48 +0100)
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1981)
crypto/threads_pthread.c
patch
|
blob
|
history
diff --git
a/crypto/threads_pthread.c
b/crypto/threads_pthread.c
index 5b10f438b9cb7ae98607d6cb2513bcb9faf755c1..151013e47044d6188e6a529c2f424bfd1eabf4af 100644
(file)
--- a/
crypto/threads_pthread.c
+++ b/
crypto/threads_pthread.c
@@
-28,7
+28,6
@@
CRYPTO_RWLOCK *CRYPTO_THREAD_lock_new(void)
}
# else
pthread_mutexattr_t attr;
-
CRYPTO_RWLOCK *lock = OPENSSL_zalloc(sizeof(pthread_mutex_t));
if (lock == NULL)
return NULL;