diff options
author | Daiki Ueno <dueno@redhat.com> | 2018-03-29 15:54:35 +0200 |
---|---|---|
committer | Daiki Ueno <dueno@redhat.com> | 2018-03-29 15:54:35 +0200 |
commit | ba6ebb05fc0c8010d8510984ce3c5f908edf13b6 (patch) | |
tree | 9fb75c5abb923e66acd7a8bf1b70c359a60b8fc7 | |
parent | 1ca877e3d3b1315ee9358f7e3c9096e10e14486e (diff) |
modules: Fix memleak in re-initialization case
-rw-r--r-- | p11-kit/modules.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/p11-kit/modules.c b/p11-kit/modules.c index 96baa44..da36e6b 100644 --- a/p11-kit/modules.c +++ b/p11-kit/modules.c @@ -2134,6 +2134,7 @@ p11_kit_modules_initialize (CK_FUNCTION_LIST **modules, name = p11_kit_module_get_name (modules[i]); p11_message ("%s: module was already initialized", name ? name : "(unknown)"); + free (name); } modules[out] = modules[i]; } |