Commit 284c4b01 by Tycho Andersen Committed by Stéphane Graber

c/r: no double fclose() of mnts

Reported-by: Coverity Signed-off-by: 's avatarTycho Andersen <tycho.andersen@canonical.com> Acked-by: 's avatarSerge E. Hallyn <serge.hallyn@ubuntu.com>
parent 70642c33
...@@ -3895,6 +3895,7 @@ static void exec_criu(struct criu_opts *opts) ...@@ -3895,6 +3895,7 @@ static void exec_criu(struct criu_opts *opts)
DECLARE_ARG(arg); DECLARE_ARG(arg);
} }
fclose(mnts); fclose(mnts);
mnts = NULL;
argv[argc] = NULL; argv[argc] = NULL;
......
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