mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- Fix openssl lock free on exit (reported by Robert Fleischman).
git-svn-id: file:///svn/unbound/trunk@2798 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
064bd4e2bd
commit
dabfda2d70
2 changed files with 4 additions and 0 deletions
|
|
@ -1,3 +1,6 @@
|
||||||
|
2 January 2013: Wouter
|
||||||
|
- Fix openssl lock free on exit (reported by Robert Fleischman).
|
||||||
|
|
||||||
20 December 2012: Wouter
|
20 December 2012: Wouter
|
||||||
- Fix unbound-anchor xml parse of entity declarations for safety.
|
- Fix unbound-anchor xml parse of entity declarations for safety.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -775,6 +775,7 @@ void ub_openssl_lock_delete(void)
|
||||||
for(i=0; i<CRYPTO_num_locks(); i++) {
|
for(i=0; i<CRYPTO_num_locks(); i++) {
|
||||||
lock_basic_destroy(&ub_openssl_locks[i]);
|
lock_basic_destroy(&ub_openssl_locks[i]);
|
||||||
}
|
}
|
||||||
|
free(ub_openssl_locks);
|
||||||
#endif /* OPENSSL_THREADS */
|
#endif /* OPENSSL_THREADS */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue