mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-02 13:57:55 +00:00
The posix_spawnattr_init & posix_spawn_file_actions_init might fail, but their return code is not checked. Check for non-zero return code and destroy only succesfully initialized objects.