mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-12 06:53:50 +00:00
call fclose() for pid_fp on failure
Signed-off-by: S.Çağlar Onur <caglar@10ur.org> Acked-by: Stéphane Graber <stgraber@ubuntu.com>
This commit is contained in:
parent
7f1dea04a4
commit
ccef566eb0
@ -346,6 +346,8 @@ int main(int argc, char *argv[])
|
||||
|
||||
out:
|
||||
lxc_container_put(c);
|
||||
if (pid_fp)
|
||||
fclose(pid_fp);
|
||||
return err;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user