diff options
author | Benjamin Peterson <benjamin@python.org> | 2011-11-23 05:57:23 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2011-11-23 05:57:23 (GMT) |
commit | 06403cff161e8cae35aa447f7c44cd326a8c0776 (patch) | |
tree | 9a79ce5a7baca7a1b01238509d2c5b0695450ad0 /Modules | |
parent | 4bb867d3ec4f004dc35daf9ae935dc72c5214789 (diff) | |
download | cpython-06403cff161e8cae35aa447f7c44cd326a8c0776.zip cpython-06403cff161e8cae35aa447f7c44cd326a8c0776.tar.gz cpython-06403cff161e8cae35aa447f7c44cd326a8c0776.tar.bz2 |
decref correct object
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/posixmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ posix_unsetenv(PyObject *self, PyObject *args) err = unsetenv(s1); if (err) { - Py_DECREF(s1); + Py_DECREF(os1); return posix_error(); } |