[Python-checkins] [python/cpython] b78fba: bpo-30602: Fix refleak in os.spawnv() (#2212) (#24...
GitHub
noreply at github.com
Thu Jun 29 04:53:24 EDT 2017
Branch: refs/heads/3.6
Home: https://github.com/python/cpython
Commit: b78fbaaeab9df8cfbbdae3d5faf2d1537d73e43b
https://github.com/python/cpython/commit/b78fbaaeab9df8cfbbdae3d5faf2d1537d73e43b
Author: Victor Stinner <victor.stinner at gmail.com>
Date: 2017-06-29 (Thu, 29 Jun 2017)
Changed paths:
M Modules/posixmodule.c
Log Message:
-----------
bpo-30602: Fix refleak in os.spawnv() (#2212) (#2486)
When os.spawnv() fails while handling arguments, free correctly
argvlist: pass lastarg+1 rather than lastarg to free_string_array()
to also free the first item.
(cherry picked from commit 8acb4cf2b3436652568d7a70228b166316181466)
More information about the Python-checkins
mailing list