commit | 209e04c201613b710cafc250e449f9bd2e4cf607 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Thu May 24 22:35:39 2012 -0700 |
committer | Benjamin Peterson <benjamin@python.org> | Thu May 24 22:35:39 2012 -0700 |
tree | 648428a693754caff66091b75d02105563828391 | |
parent | 283d0ba45d66d2884ddec1085b40f3a95bd5e987 [diff] [blame] |
plug ref leak
diff --git a/Modules/zipimport.c b/Modules/zipimport.c index 4bb2863..cc1dffb 100644 --- a/Modules/zipimport.c +++ b/Modules/zipimport.c
@@ -429,6 +429,7 @@ case 2: /* Return (None, [namespace_portion]) */ if (!(result = Py_BuildValue("O[O]", Py_None, namespace_portion))) goto error; + Py_DECREF(namespace_portion); return result; } /* Can't get here. */