rt-thread-official/components/lwp/terminal
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
..
freebsd [smart] add FIONREAD ioctl support for tty (#8996) 2024-05-28 09:56:10 +08:00
Kconfig sync smart & dfs (#8672) 2024-03-28 23:42:56 +08:00
bsd_porting.h sync smart & dfs (#8672) 2024-03-28 23:42:56 +08:00
bsd_ttydisc.h sync smart & dfs (#8672) 2024-03-28 23:42:56 +08:00
bsd_ttyqueue.h sync smart & dfs (#8672) 2024-03-28 23:42:56 +08:00
terminal.h [smart] select console device dynamically (#8949) 2024-05-17 13:19:00 +08:00
tty_config.h sync smart & dfs (#8672) 2024-03-28 23:42:56 +08:00
tty_cons.c sync smart & dfs (#8672) 2024-03-28 23:42:56 +08:00
tty_ctty.c sync smart & dfs (#8672) 2024-03-28 23:42:56 +08:00
tty_device.c sync smart & dfs (#8672) 2024-03-28 23:42:56 +08:00
tty_internal.h sync smart & dfs (#8672) 2024-03-28 23:42:56 +08:00
tty_ptmx.c fixup: pty: possible memory leaking on close() 2024-09-19 23:02:25 -04:00