- 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:
Wouter Wijngaards 2013-01-02 10:53:57 +00:00
parent 064bd4e2bd
commit dabfda2d70
2 changed files with 4 additions and 0 deletions

View file

@ -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.

View file

@ -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 */
} }