commit | 06403cff161e8cae35aa447f7c44cd326a8c0776 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Tue Nov 22 23:57:23 2011 -0600 |
committer | Benjamin Peterson <benjamin@python.org> | Tue Nov 22 23:57:23 2011 -0600 |
tree | 9a79ce5a7baca7a1b01238509d2c5b0695450ad0 | |
parent | 4bb867d3ec4f004dc35daf9ae935dc72c5214789 [diff] |
decref correct object
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 2afd5a6..b8d0021 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c
@@ -6194,7 +6194,7 @@ err = unsetenv(s1); if (err) { - Py_DECREF(s1); + Py_DECREF(os1); return posix_error(); }