diff options
author | Daiki Ueno <dueno@redhat.com> | 2017-01-25 11:16:07 +0100 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2017-01-25 11:47:07 +0100 |
commit | 08ecac9deb63904c6482eab64198580aac9e1a4e (patch) | |
tree | f9a25ae09e839106aad6a73b8aaeb7f7e9d67a74 /p11-kit | |
parent | c01b59e5594b395cf084068e513a68f63c9b95a4 (diff) |
test: Release transport mock module
To prevent leaks of fixed closures, p11_kit_module_release() needs to be
called on the mock module itself.
Diffstat (limited to 'p11-kit')
-rw-r--r-- | p11-kit/test-transport.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/p11-kit/test-transport.c b/p11-kit/test-transport.c index 227d7ce..db0c4dd 100644 --- a/p11-kit/test-transport.c +++ b/p11-kit/test-transport.c @@ -133,6 +133,7 @@ static void teardown_mock_module (CK_FUNCTION_LIST *module) { p11_kit_module_finalize (module); + p11_kit_module_release (module); teardown_remote (NULL); } |