Commit ccef566e by S.Çağlar Onur Committed by Stéphane Graber

call fclose() for pid_fp on failure

parent 7f1dea04
......@@ -346,6 +346,8 @@ int main(int argc, char *argv[])
out:
lxc_container_put(c);
if (pid_fp)
fclose(pid_fp);
return err;
}
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