Skip to content

Commit cb90458

Browse files
committed
Coverity CID 468116
1 parent 6088ba3 commit cb90458

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

sesman/chansrv/chansrv_fuse.c

+4-1
Original file line numberDiff line numberDiff line change
@@ -1585,7 +1585,10 @@ void xfuse_devredir_cb_rmdir_or_file(struct state_remove *fip,
15851585
{
15861586
case STATUS_SUCCESS:
15871587
case STATUS_NO_SUCH_FILE:
1588-
xfs_remove_entry(g_xfs, xinode->inum); /* Remove local copy */
1588+
if (xinode != NULL)
1589+
{
1590+
xfs_remove_entry(g_xfs, xinode->inum); /* Remove local copy */
1591+
}
15891592
fuse_reply_err(fip->req, 0);
15901593
break;
15911594

0 commit comments

Comments
 (0)