aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2019-04-08 10:34:59 -0400
committerJack Lloyd <[email protected]>2019-04-08 10:34:59 -0400
commitc8cf8ab108948374774ca16fc0147f8cd50bb9e3 (patch)
tree5b029447a1f1835878807201f0d9c0e567c6e148 /src
parenta6ec30798ddcc69b49c2900cc4923fff67d6b5a4 (diff)
parenta3ab499b276a0ba0c3c41ffa838fa6ff7c583b72 (diff)
Merge GH #1886 Avoid memory leak in FFI tests
Diffstat (limited to 'src')
-rw-r--r--src/tests/test_ffi.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tests/test_ffi.cpp b/src/tests/test_ffi.cpp
index 2e59faec2..de429bde9 100644
--- a/src/tests/test_ffi.cpp
+++ b/src/tests/test_ffi.cpp
@@ -215,6 +215,7 @@ class FFI_Unit_Tests final : public Test
if(rc != 0)
{
REQUIRE_FFI_OK(botan_rng_init, (&rng, "user"));
+ REQUIRE_FFI_OK(botan_rng_destroy, (rng));
}
if(rc == 0)