Skip to content

Commit

Permalink
fix a memory leak in havege_destroy
Browse files Browse the repository at this point in the history
  • Loading branch information
nbztx committed Jun 17, 2020
1 parent 02674ae commit cbef34b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/havege.c
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ void havege_destroy( /* RETURN: none */
free(temp);
}
#ifdef ONLINE_TESTS_ENABLE
else if (0 != (temp=hptr->testData)) {
if (0 != (temp=hptr->testData)) {
double *g = ((procShared *)temp)->G;
hptr->testData = 0;
if (0 != g)
Expand Down

0 comments on commit cbef34b

Please sign in to comment.