aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias Gierlings <[email protected]>2019-04-08 11:09:30 +0200
committerMatthias Gierlings <[email protected]>2019-04-08 11:09:30 +0200
commita3ab499b276a0ba0c3c41ffa838fa6ff7c583b72 (patch)
tree24c785b39121b423e2174e60218ef3405e323b67 /src
parent71944443d8f06a13673c0ab1fc66170c4e5732bb (diff)
Fixes 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)