summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorStef Walter <stefw@collabora.co.uk>2011-06-07 12:44:06 +0000
committerStef Walter <stefw@collabora.co.uk>2011-06-07 12:44:06 +0000
commitb315f99c90d01104d6baa91ca0f2cfb32c920abd (patch)
tree9d714ed7f0d70ee82a2998a070a1b9fed521c269 /tools
parent7f5d2e9471872d8c1cf7181ba647c1dc74e2c6dd (diff)
Fix more memory errors and leaks in module code.
Diffstat (limited to 'tools')
-rw-r--r--tools/p11-kit.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/p11-kit.c b/tools/p11-kit.c
index 7e84416..175b561 100644
--- a/tools/p11-kit.c
+++ b/tools/p11-kit.c
@@ -83,6 +83,9 @@ list_modules (int argc, char *argv[])
free (name);
free (path);
}
+ free (module_list);
+
+ p11_kit_finalize_registered ();
return 0;
}