mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-19 04:13:47 +08:00
210cd71128
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>