summaryrefslogtreecommitdiff
path: root/cgroup.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-04-06 02:35:59 +0200
committerLennart Poettering <lennart@poettering.net>2010-04-06 02:35:59 +0200
commit58783cdaec345e9a34c2ed2218fe4670d1d0dce5 (patch)
tree1b4eeac13bdeddc5cb619e3f7c872cfe821ef864 /cgroup.c
parent6ab3c207a978f7db16cb43a2d6c10493ffab3bf5 (diff)
cgroup: fix minor memory leak
Diffstat (limited to 'cgroup.c')
-rw-r--r--cgroup.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/cgroup.c b/cgroup.c
index 04736accea..9e1b0de379 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;
}