diff --git a/cgroup.c b/cgroup.c index 04736acceab..9e1b0de379a 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; }