Commit e310e136 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 81216170
...@@ -3892,6 +3892,7 @@ static void exec_criu(struct criu_opts *opts) ...@@ -3892,6 +3892,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