diff options
author | Jack Lloyd <[email protected]> | 2019-04-08 10:34:59 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2019-04-08 10:34:59 -0400 |
commit | c8cf8ab108948374774ca16fc0147f8cd50bb9e3 (patch) | |
tree | 5b029447a1f1835878807201f0d9c0e567c6e148 /src | |
parent | a6ec30798ddcc69b49c2900cc4923fff67d6b5a4 (diff) | |
parent | a3ab499b276a0ba0c3c41ffa838fa6ff7c583b72 (diff) |
Merge GH #1886 Avoid memory leak in FFI tests
Diffstat (limited to 'src')
-rw-r--r-- | src/tests/test_ffi.cpp | 1 |
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) |