[Python-checkins] cpython (merge 3.4 -> 3.5): merge 3.4
benjamin.peterson
python-checkins at python.org
Thu Jan 21 01:08:02 EST 2016
https://hg.python.org/cpython/rev/a3ac2cd93db9
changeset: 100013:a3ac2cd93db9
branch: 3.5
parent: 100009:56e68089ad65
parent: 100012:eb19459ce46a
user: Benjamin Peterson <benjamin at python.org>
date: Wed Jan 20 22:07:43 2016 -0800
summary:
merge 3.4
files:
Modules/zipimport.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Modules/zipimport.c b/Modules/zipimport.c
--- a/Modules/zipimport.c
+++ b/Modules/zipimport.c
@@ -1143,6 +1143,7 @@
bytes_read = fread(buf, 1, data_size, fp);
} else {
fclose(fp);
+ Py_DECREF(raw_data);
PyErr_Format(ZipImportError, "can't read Zip file: %R", archive);
return NULL;
}
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list