Skip to content

Commit

Permalink
mq: correct inode release in mq_inode_release()
Browse files Browse the repository at this point in the history
Signed-off-by: ligd <[email protected]>
  • Loading branch information
GUIDINGLI authored and guohao15 committed Oct 8, 2024
1 parent 4ac2a5a commit ffa892e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/mqueue/mq_unlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ static void mq_inode_release(FAR struct inode *inode)
nxmq_free_msgq(msgq);
inode->i_private = NULL;
}

inode_release(inode);
}

inode_release(inode);
}

/****************************************************************************
Expand Down

0 comments on commit ffa892e

Please sign in to comment.