Coverity CID 468116

This commit is contained in:
matt335672
2025-02-05 10:19:24 +00:00
parent 6088ba3f3b
commit cb90458609
+4 -1
View File
@@ -1585,7 +1585,10 @@ void xfuse_devredir_cb_rmdir_or_file(struct state_remove *fip,
{
case STATUS_SUCCESS:
case STATUS_NO_SUCH_FILE:
xfs_remove_entry(g_xfs, xinode->inum); /* Remove local copy */
if (xinode != NULL)
{
xfs_remove_entry(g_xfs, xinode->inum); /* Remove local copy */
}
fuse_reply_err(fip->req, 0);
break;