Displaying 1 result from an estimated 1 matches for "770b7a8".
Did you mean:
770b7a825
2017 Mar 16
2
[PATCH 1/2] p2v: Free config struct before exit.
Memory leak found by valgrind.
---
p2v/main.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/p2v/main.c b/p2v/main.c
index e1a7550..7f1e1c0 100644
--- a/p2v/main.c
+++ b/p2v/main.c
@@ -260,6 +260,7 @@ main (int argc, char *argv[])
}
guestfs_int_free_string_list (cmdline);
+ free_config (config);
exit (EXIT_SUCCESS);
}
--
2.10.2