Signed-off-by: Ismo Puustinen <[email protected]> diff --git a/src/tools/cgsnapshot.c b/src/tools/cgsnapshot.c index a0599c1..806898d 100644 --- a/src/tools/cgsnapshot.c +++ b/src/tools/cgsnapshot.c @@ -428,6 +428,8 @@ static int display_cgroup_data(struct cgroup *group, goto err; } fprintf(of, "\t\t%s=\"%s\";\n", output_name, value); + + free(value); } fprintf(of, "\t}\n"); } -- 2.4.3
------------------------------------------------------------------------------ _______________________________________________ Libcg-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libcg-devel
