(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:
Andrew Borodin 2021-05-18 16:24:51 +03:00
parent 45a4d3f6d4
commit 37b86b2781

View File

@ -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);
}
return result;
}