Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
File descriptor leak on PRINT_UNSYMBOLIZED_STACK_TRACES mode
When PRINT_UNSYMBOLIZED_STACK_TRACES is on, |object_fd| is created in |SymbolizeAndDemangle| but not used. The handle is not closed when returning the function. This CL fixes this file descriptor leak by using FileDescriptor. Change-Id: I216c00690946671edd802f91fd694573d5783ba0 Reviewed-on: https://chromium-review.googlesource.com/1120087 Reviewed-by: Nico Weber <thakis@chromium.org> Commit-Queue: Hajime Hoshi <hajimehoshi@chromium.org> Cr-Commit-Position: refs/heads/master@{#574087}
- Loading branch information