]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix openssl lock free on exit (reported by Robert Fleischman).
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Wed, 2 Jan 2013 10:53:57 +0000 (10:53 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Wed, 2 Jan 2013 10:53:57 +0000 (10:53 +0000)
git-svn-id: file:///svn/unbound/trunk@2798 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
util/net_help.c

index 6ceeba5264fdc2582f73f39f4133d8904f6ae81e..3cf5ed57059a1e4b0400435f1d790f912e8ebf87 100644 (file)
@@ -1,3 +1,6 @@
+2 January 2013: Wouter
+       - Fix openssl lock free on exit (reported by Robert Fleischman).
+
 20 December 2012: Wouter
        - Fix unbound-anchor xml parse of entity declarations for safety.
 
index d24d77c8aeeeb0a5cadd057ebe193bd09148beab..1a94492e25c1ebd445b711536e7883e5bf198a68 100644 (file)
@@ -775,6 +775,7 @@ void ub_openssl_lock_delete(void)
        for(i=0; i<CRYPTO_num_locks(); i++) {
                lock_basic_destroy(&ub_openssl_locks[i]);
        }
+       free(ub_openssl_locks);
 #endif /* OPENSSL_THREADS */
 }