[Python-checkins] cpython (3.3): backout d28242a636c7 so I can backout 2807a5f011e4

benjamin.peterson python-checkins at python.org
Sun Feb 16 20:21:45 CET 2014


http://hg.python.org/cpython/rev/0f9acc2365a5
changeset: 89220:0f9acc2365a5
branch: 3.3
parent: 89217:4a3f1c1890fa
user: Benjamin Peterson <benjamin at python.org>
date: Sun Feb 16 14:11:56 2014 -0500
summary:
 backout d28242a636c7 so I can backout 2807a5f011e4
files:
 Modules/zipimport.c | 4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/Modules/zipimport.c b/Modules/zipimport.c
--- a/Modules/zipimport.c
+++ b/Modules/zipimport.c
@@ -958,8 +958,10 @@
 }
 Py_XDECREF(self->files); /* free the old value. */
 self->files = files;
+ } else {
+ /* No problem, discard the new stat data. */
+ Py_DECREF(stat_now);
 }
- Py_DECREF(stat_now);
 } /* stat succeeded */
 
 return fp;
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /