mqueue: fix memory leak cause by lost inode_release

Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
ligd 2021-10-25 15:52:19 +08:00 committed by Masayuki Ishikawa
parent 585b1fc113
commit e3d20d2c54

View File

@ -64,6 +64,8 @@ static void mq_inode_release(FAR struct inode *inode)
nxmq_free_msgq(msgq); nxmq_free_msgq(msgq);
inode->i_private = NULL; inode->i_private = NULL;
} }
inode_release(inode);
} }
} }