summaryrefslogtreecommitdiffstats
path: root/fips/rand/fips_drbg_selftest.c
diff options
context:
space:
mode:
Diffstat (limited to 'fips/rand/fips_drbg_selftest.c')
-rw-r--r--fips/rand/fips_drbg_selftest.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fips/rand/fips_drbg_selftest.c b/fips/rand/fips_drbg_selftest.c
index f580eafb4a..af21971ba0 100644
--- a/fips/rand/fips_drbg_selftest.c
+++ b/fips/rand/fips_drbg_selftest.c
@@ -1011,6 +1011,7 @@ int FIPS_selftest_drbg(void)
if (!fips_drbg_health_check(dctx, td))
break;
}
+ FIPS_drbg_free(dctx);
if (td->nid == 0)
return 1;
return 0;