summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}