[PATCH] D51517: Do not leak the Mach host port in sys::getHostCPUName()

Kristina Brooks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 3 17:26:06 PDT 2018


kristina added a comment.

Good catch, `mach_host_self()` always obtains a new send right for the host port. LGTM.


Repository:
  rL LLVM

https://reviews.llvm.org/D51517





More information about the llvm-commits mailing list