diff options
author | Eric Snow <ericsnowcurrently@gmail.com> | 2014-05-29 18:32:39 (GMT) |
---|---|---|
committer | Eric Snow <ericsnowcurrently@gmail.com> | 2014-05-29 18:32:39 (GMT) |
commit | 12c5247be9f30052733d4cda26af5344292582ec (patch) | |
tree | d69729a3cfea245c7f5345195dca379dc87ab6da /Python | |
parent | 679a2feb80ad25c2ef47e1d208f3cf81452f00b7 (diff) | |
parent | 58cfdd8af80f2ffa44b207e0846ddbe7f73836cb (diff) | |
download | cpython-12c5247be9f30052733d4cda26af5344292582ec.zip cpython-12c5247be9f30052733d4cda26af5344292582ec.tar.gz cpython-12c5247be9f30052733d4cda26af5344292582ec.tar.bz2 |
Issue #21226: Merge from 3.4.
Diffstat (limited to 'Python')
-rw-r--r-- | Python/import.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/import.c b/Python/import.c index 4c8f67f..80e3764 100644 --- a/Python/import.c +++ b/Python/import.c @@ -904,6 +904,7 @@ PyImport_ExecCodeModuleObject(PyObject *name, PyObject *co, PyObject *pathname, &PyId__fix_up_module, d, name, pathname, cpathname, NULL); if (res != NULL) { + Py_DECREF(res); res = exec_code_in_module(name, d, co); } return res; |