diff options
| author | Shell <[email protected]> | 2024-09-19 15:06:03 +0800 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2024-09-19 23:02:25 -0400 |
| commit | 210cd71128f3b3208bab5ed3844c09e588f89711 (patch) | |
| tree | 80cada86d11c1e2db0d2a20553dde160a4e1c21a /src | |
| parent | 87906499a387101e2f5b04f36fba8a3d21f25a8c (diff) | |
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 <[email protected]>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions
