Commit 038503e0 authored by Krishna Oza's avatar Krishna Oza Committed by Xiang Zhang

bpo-38391: Fixing a typo for Py_DECREF (GH-16616)

parent b96145a6
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment