ElfFile: unmap on init error
Summary: Currently for `ElfFile::openNoThrow`, if `init` fails (due to mal-formatted content etc.) it won't unmap and close the file. They will only be unmapped / closed on destruction. This Diff calls `reset()` on that case. Reviewed By: yfeldblum Differential Revision: D9997690 fbshipit-source-id: c30907fb793c813a5ad40d249919dd1752a2d711
Showing
Please register or sign in to comment