Shell 210cd71128 fixup: pty: possible memory leaking on close()
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>
2024-09-19 23:02:25 -04:00
..
2024-03-28 23:42:56 +08:00
2024-03-28 23:42:56 +08:00
2022-12-03 12:07:44 +08:00
2022-12-03 12:07:44 +08:00
2022-12-03 12:07:44 +08:00
2024-03-28 23:42:56 +08:00
2024-02-23 17:49:15 +08:00
2023-11-10 21:37:07 +08:00
2024-02-23 17:49:15 +08:00
2024-03-28 23:42:56 +08:00
2022-12-03 12:07:44 +08:00
2022-12-03 12:07:44 +08:00
2024-03-28 23:42:56 +08:00
2024-03-28 23:42:56 +08:00
2023-10-17 13:07:59 +08:00
2022-12-03 12:07:44 +08:00
2024-03-28 23:42:56 +08:00
2024-03-28 23:42:56 +08:00
2024-03-28 23:42:56 +08:00