decref correct object

This commit is contained in:
Benjamin Peterson 2011-11-22 23:57:23 -06:00
parent 4bb867d3ec
commit 06403cff16
1 changed files with 1 additions and 1 deletions

View File

@ -6194,7 +6194,7 @@ posix_unsetenv(PyObject *self, PyObject *args)
err = unsetenv(s1); err = unsetenv(s1);
if (err) { if (err) {
Py_DECREF(s1); Py_DECREF(os1);
return posix_error(); return posix_error();
} }