mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-25 16:18:03 -04:00
a mutex wasn't being destroyed
This commit is contained in:
parent
42928d936e
commit
a452eb6b5d
1 changed files with 3 additions and 1 deletions
|
|
@ -15,7 +15,7 @@
|
|||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: entropy.c,v 1.49 2000/08/26 01:31:54 bwelling Exp $ */
|
||||
/* $Id: entropy.c,v 1.50 2000/11/23 00:26:11 bwelling Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
|
@ -852,6 +852,8 @@ destroysource(isc_entropysource_t **sourcep) {
|
|||
|
||||
memset(source, 0, sizeof(isc_entropysource_t));
|
||||
|
||||
DESTROYLOCK(&ent->lock);
|
||||
|
||||
isc_mem_put(ent->mctx, source, sizeof(isc_entropysource_t));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue