[issue20104] expose posix_spawn(p)

Pablo Galindo Salgado report at bugs.python.org
Mon Jan 29 05:56:21 EST 2018


Pablo Galindo Salgado <pablogsal at gmail.com> added the comment:

Regarding the leak, I was under the assumption that as File_actionsp is pointing to a stack initialized _file_actions and is this last variable the one that is passed to posix_spawn_file_actions_init, it was not needed to explicitly call posix_spawn_file_actions_destroy as the variable will go out of scope and the pointer is pointing to a stack variable. Am I missing something?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue20104>
_______________________________________


More information about the Python-bugs-list mailing list