diff options
| author | apocelipes <[email protected]> | 2026-07-29 19:04:47 +0800 |
|---|---|---|
| committer | apocelipes <[email protected]> | 2026-07-29 19:15:15 +0800 |
| commit | 09764e099ced0b53b2eb1be35beadceab3610dab (patch) | |
| tree | f043e569fe3ed39b089209d7783637df1422b47a /tests/projects/c++/modules | |
| parent | 872c74c9f4dbbc9211951a369f1d77e44403c015 (diff) | |
fix(macOS): fix Mach host send-right leaks
mach_host_self() increments the task send-right user-reference count,
but the CPU and memory queries did not release those references.
Reuse each returned host port for its query and deallocate it
afterward on both successful and failed query paths.
Diffstat (limited to 'tests/projects/c++/modules')
0 files changed, 0 insertions, 0 deletions
