[Python-checkins] cpython (3.2): decref correct object
benjamin.peterson
python-checkins at python.org
Wed Nov 23 06:58:21 CET 2011
http://hg.python.org/cpython/rev/78f7c232f88b
changeset: 73720:78f7c232f88b
branch: 3.2
parent: 73716:714b76882eb8
user: Benjamin Peterson <benjamin at python.org>
date: Tue Nov 22 23:57:23 2011 -0600
summary:
decref correct object
files:
Modules/posixmodule.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -6194,7 +6194,7 @@
err = unsetenv(s1);
if (err) {
- Py_DECREF(s1);
+ Py_DECREF(os1);
return posix_error();
}
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list