mirror of
https://github.com/python/cpython.git
synced 2024-12-12 11:23:56 +08:00
decref correct object
This commit is contained in:
parent
4bb867d3ec
commit
06403cff16
@ -6194,7 +6194,7 @@ posix_unsetenv(PyObject *self, PyObject *args)
|
||||
|
||||
err = unsetenv(s1);
|
||||
if (err) {
|
||||
Py_DECREF(s1);
|
||||
Py_DECREF(os1);
|
||||
return posix_error();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user