bpo-38391: Fixing a typo for Py_DECREF (GH-16616)
(cherry picked from commit 038503e08a
)
Co-authored-by: Krishna Oza <krishoza15sep@gmail.com>
This commit is contained in:
parent
f19b4d7474
commit
985ec986e8
|
@ -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