Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Petr Menšík
BIND
Commits
a452eb6b
Commit
a452eb6b
authored
Nov 23, 2000
by
Brian Wellington
Browse files
a mutex wasn't being destroyed
parent
42928d93
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/isc/unix/entropy.c
View file @
a452eb6b
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
*/
/* $Id: entropy.c,v 1.
49
2000/
08
/2
6
0
1:31:54
bwelling Exp $ */
/* $Id: entropy.c,v 1.
50
2000/
11
/2
3
0
0:26:11
bwelling Exp $ */
#include <config.h>
#include <config.h>
...
@@ -852,6 +852,8 @@ destroysource(isc_entropysource_t **sourcep) {
...
@@ -852,6 +852,8 @@ destroysource(isc_entropysource_t **sourcep) {
memset
(
source
,
0
,
sizeof
(
isc_entropysource_t
));
memset
(
source
,
0
,
sizeof
(
isc_entropysource_t
));
DESTROYLOCK
(
&
ent
->
lock
);
isc_mem_put
(
ent
->
mctx
,
source
,
sizeof
(
isc_entropysource_t
));
isc_mem_put
(
ent
->
mctx
,
source
,
sizeof
(
isc_entropysource_t
));
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment