mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
(extfs_open_and_read_archive): fix NULL dereference in mc_plose().
Found by Coverity. Coverity id #331765. Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
45a4d3f6d4
commit
37b86b2781
@ -751,9 +751,9 @@ extfs_open_and_read_archive (int fstype, const char *name, struct extfs_super_t
|
||||
message (D_ERROR, MSG_ERROR, _("EXTFS virtual file system:\n%s"), error->message);
|
||||
g_error_free (error);
|
||||
}
|
||||
}
|
||||
|
||||
mc_pclose (pip, NULL);
|
||||
mc_pclose (pip, NULL);
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user