no python objects to manage here

This commit is contained in:
Benjamin Peterson 2011-11-22 23:56:06 -06:00
parent fde82169e1
commit 42d96dc07d
1 changed files with 1 additions and 3 deletions

View File

@ -7050,10 +7050,8 @@ posix_unsetenv(PyObject *self, PyObject *args)
return NULL;
err = unsetenv(s1);
if (err) {
Py_DECREF(s1);
if (err)
return posix_error();
}
/* Remove the key from posix_putenv_garbage;
* this will cause it to be collected. This has to