diff options
Diffstat (limited to 'Python/modsupport.c')
-rw-r--r-- | Python/modsupport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/modsupport.c b/Python/modsupport.c index 98b0341330..a2a095ed3e 100644 --- a/Python/modsupport.c +++ b/Python/modsupport.c @@ -78,7 +78,7 @@ Py_InitModule4(char *name, PyMethodDef *methods, char *doc, if (doc != NULL) { v = PyString_FromString(doc); if (v == NULL || PyDict_SetItemString(d, "__doc__", v) != 0) { - Py_DECREF(v); + Py_XDECREF(v); return NULL; } Py_DECREF(v); |