summaryrefslogtreecommitdiff
path: root/tests/projects/console_objc++
diff options
context:
space:
mode:
authorapocelipes <[email protected]>2026-07-29 19:04:47 +0800
committerapocelipes <[email protected]>2026-07-29 19:15:15 +0800
commit09764e099ced0b53b2eb1be35beadceab3610dab (patch)
treef043e569fe3ed39b089209d7783637df1422b47a /tests/projects/console_objc++
parent872c74c9f4dbbc9211951a369f1d77e44403c015 (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/console_objc++')
0 files changed, 0 insertions, 0 deletions