From 58783cdaec345e9a34c2ed2218fe4670d1d0dce5 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 6 Apr 2010 02:35:59 +0200 Subject: [PATCH] cgroup: fix minor memory leak --- cgroup.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cgroup.c b/cgroup.c index 04736acce..9e1b0de37 100644 --- a/cgroup.c +++ b/cgroup.c @@ -357,6 +357,9 @@ static int install_release_agent(Manager *m, const char *mount_point) { return -EIO; } + free(p); + free(c); + return 0; } -- 2.30.2