coverity: #1429139

Resource leak Signed-off-by: 's avatarChristian Brauner <christian.brauner@ubuntu.com>
parent e3fe3512
...@@ -1143,6 +1143,7 @@ static bool cg_hybrid_init(void) ...@@ -1143,6 +1143,7 @@ static bool cg_hybrid_init(void)
f = fopen("/proc/self/mountinfo", "r"); f = fopen("/proc/self/mountinfo", "r");
if (!f) { if (!f) {
CGFSNG_DEBUG("Failed to open \"/proc/self/mountinfo\"\n"); CGFSNG_DEBUG("Failed to open \"/proc/self/mountinfo\"\n");
free(basecginfo);
return false; return false;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment