diff options
-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(); } |