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-07-18 17:41:48 +08:00
2024-09-19 23:02:25 -04:00
2024-07-29 20:18:19 +08:00
2024-09-14 13:50:36 -04:00
2024-03-28 23:42:56 +08:00
2024-03-28 23:42:56 +08:00
2024-08-24 15:46:35 -04:00
2024-05-31 17:32:19 +08:00
2022-12-11 13:12:03 -05:00
2022-12-03 12:07:44 +08:00
2022-12-03 12:07:44 +08:00
2023-07-20 00:02:41 +08:00
2024-07-15 17:58:29 +08:00
2022-12-03 12:07:44 +08:00
2024-02-23 17:49:15 +08:00
2024-02-23 17:49:15 +08:00
2024-03-28 23:42:56 +08:00
2024-03-30 17:58:38 +08:00
2024-05-31 17:32:19 +08:00
2022-12-03 12:07:44 +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-08-22 17:53:18 -04:00
2024-05-31 17:30:46 +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-09-13 17:30:24 -04:00
2024-09-13 17:30:24 -04:00
2024-03-28 23:42:56 +08:00
2024-08-22 17:52:45 -04:00
2024-07-16 20:38:55 +08:00
2024-06-22 13:30:55 +08:00
2024-06-04 00:06:41 +08:00
2024-07-15 17:58:29 +08:00
2023-01-08 21:08:55 -05:00
2024-09-13 17:28:47 -04:00
2024-09-01 15:12:34 -04:00