cpython: caf547c9e589 (original) (raw)

Mercurial > cpython

changeset 102969:caf547c9e589 3.5

Issue #27909: Fix INCREF for possible NULL value [#27909]

Raymond Hettinger python@rcn.com
date Wed, 31 Aug 2016 08:44:11 -0700
parents b8dd9ae08a91
children 16bba5b49441 2a748320616b
files Python/import.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-)[+] [-] Python/import.c 2

line wrap: on

line diff

--- a/Python/import.c +++ b/Python/import.c @@ -1056,7 +1056,7 @@ static PyObject * mod = _PyImport_FindExtensionObject(name, name); if (mod || PyErr_Occurred()) { Py_DECREF(name);