mq: correct inode release in mq_inode_release()

Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
ligd 2023-11-01 17:57:11 +08:00 committed by Xiang Xiao
parent b068e2357a
commit d473fa24a7
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}
/****************************************************************************