commit | b78fbaaeab9df8cfbbdae3d5faf2d1537d73e43b | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Thu Jun 29 10:53:22 2017 +0200 |
committer | GitHub <noreply@github.com> | Thu Jun 29 10:53:22 2017 +0200 |
tree | 4ed9067f86617ef80a567da50255c491905425ac | |
parent | 38d6a40898940d2c62c637fcc8acce05e75de5c2 [diff] |
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)