diff options
Diffstat (limited to 'util/random.c')
-rw-r--r-- | util/random.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/util/random.c b/util/random.c index 684464e7d841..8332960b4d0c 100644 --- a/util/random.c +++ b/util/random.c @@ -228,7 +228,6 @@ ub_random_max(struct ub_randstate* state, long int x) void ub_randfree(struct ub_randstate* s) { - if(s) - free(s); + free(s); /* user app must do RAND_cleanup(); */ } |