mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-10 23:01:09 +08:00
The ref_count of the vnode is NOT bound to the resource reference counts of the ptm device created by opening `dev/ptmx`, so the conditional release of resource may end up by memory leaking if the multiple user have open the `dev/ptmx`. Changes: - Removed conditional branch on recycling resource Signed-off-by: Shell <smokewood@qq.com>