mqueue: fix memory leak cause by lost inode_release
Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
parent
585b1fc113
commit
e3d20d2c54
@ -64,6 +64,8 @@ static void mq_inode_release(FAR struct inode *inode)
|
||||
nxmq_free_msgq(msgq);
|
||||
inode->i_private = NULL;
|
||||
}
|
||||
|
||||
inode_release(inode);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user