Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix potential use after free in MacOS / iOS impl
Per Ryan Lopopolo's review: > This bit makes me a bit scared with the `Dropping` type and the `CStr` being dropped while a borrowed `&str` is taken from name. Is the `.map(|name| name.to_owned())` a use after free? > > To be sure, I'd probably restructure all of these combinators to use short circuit return to make sure the `Dropping` and `CStr` wrappers are dropped in the right order. <#50 (comment)>
- Loading branch information