From b315f99c90d01104d6baa91ca0f2cfb32c920abd Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Tue, 7 Jun 2011 12:44:06 +0000 Subject: Fix more memory errors and leaks in module code. --- tools/p11-kit.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools') 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; } -- cgit v1.1