diff options
Diffstat (limited to 'src/havege.c')
-rw-r--r-- | src/havege.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/havege.c b/src/havege.c index 43cac70..3c4508b 100644 --- a/src/havege.c +++ b/src/havege.c @@ -197,12 +197,12 @@ void havege_destroy( /* RETURN: none */ free(temp); } #ifdef ONLINE_TESTS_ENABLE - if (0 != (temp=hptr->testData)) { + else if (0 != (temp=hptr->testData)) { double *g = ((procShared *)temp)->G; hptr->testData = 0; - if (0 != g) - free(g); } + if (0 != g) + free(g); #endif if (0 != (htemp=hptr->collector)) { hptr->collector = 0; |