[Python-checkins] [python/cpython] 8acb4c: bpo-30602: Fix refleak in os.spawnv() (#2212)
GitHub
noreply at github.com
Thu Jun 15 09:30:42 EDT 2017
Branch: refs/heads/master
Home: https://github.com/python/cpython
Commit: 8acb4cf2b3436652568d7a70228b166316181466
https://github.com/python/cpython/commit/8acb4cf2b3436652568d7a70228b166316181466
Author: Victor Stinner <victor.stinner at gmail.com>
Date: 2017-06-15 (Thu, 15 Jun 2017)
Changed paths:
M Modules/posixmodule.c
Log Message:
-----------
bpo-30602: Fix refleak in os.spawnv() (#2212)
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.
More information about the Python-checkins
mailing list