summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2008-08-24 22:07:28 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2008-08-24 22:07:28 (GMT)
commit6e0e0e6749f4e68a9a2d13c4935d1e39546c8114 (patch)
treea21b86f727282826dc4d8e39908d0cf6a7fafc25 /Modules
parent8f2f22ad2757d126da9c728749ee3679310c3a54 (diff)
downloadcpython-6e0e0e6749f4e68a9a2d13c4935d1e39546c8114.zip
cpython-6e0e0e6749f4e68a9a2d13c4935d1e39546c8114.tar.gz
cpython-6e0e0e6749f4e68a9a2d13c4935d1e39546c8114.tar.bz2
Merged revisions 66018 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r66018 | neal.norwitz | 2008-08-24 15:03:05 -0700 (Sun, 24 Aug 2008) | 6 lines #3662: Fix segfault introduced when fixing memory leaks. TESTED=./python -E -tt ./Lib/test/regrtest.py test_fileio R (approach from bug)=Amaury and Benjamin ........
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_fileio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_fileio.c b/Modules/_fileio.c
index ec123e8..81ca202 100644
--- a/Modules/_fileio.c
+++ b/Modules/_fileio.c
@@ -175,7 +175,7 @@ fileio_init(PyObject *oself, PyObject *args, PyObject *kwds)
kwlist,
Py_FileSystemDefaultEncoding,
&name, &mode, &closefd))
- goto error;
+ return -1;
}
}