Skip to content

Commit

Permalink
coverity: #1429139
Browse files Browse the repository at this point in the history
Resource leak

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
  • Loading branch information
Christian Brauner committed Feb 12, 2018
1 parent 6b76e59 commit 6b6d31f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lxc/cgroups/cgfsng.c
Expand Up @@ -1133,6 +1133,7 @@ static bool cg_hybrid_init(void)
f = fopen("/proc/self/mountinfo", "r");
if (!f) {
CGFSNG_DEBUG("Failed to open \"/proc/self/mountinfo\"\n");
free(basecginfo);
return false;
}

Expand Down

0 comments on commit 6b6d31f

Please sign in to comment.