mirror of https://github.com/python/cpython
bpo-38391: Fixing a typo for Py_DECREF (GH-16616)
This commit is contained in:
parent
b96145a6b5
commit
038503e08a
|
@ -182,7 +182,7 @@ set to *NULL*. ::
|
|||
Py_INCREF(&CustomType);
|
||||
if (PyModule_AddObject(m, "Custom", (PyObject *) &CustomType) < 0) {
|
||||
Py_DECREF(&CustomType);
|
||||
PY_DECREF(m);
|
||||
Py_DECREF(m);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue