We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe78c1e commit c315748Copy full SHA for c315748
1 file changed
Modules/_json.c
@@ -423,11 +423,12 @@ raise_errmsg(const char *msg, PyObject *s, Py_ssize_t end)
423
424
PyObject *exc;
425
exc = PyObject_CallFunction(JSONDecodeError, "zOn", msg, s, end);
426
- Py_DECREF(JSONDecodeError);
427
if (exc) {
428
PyErr_SetObject(JSONDecodeError, exc);
429
Py_DECREF(exc);
430
}
+
431
+ Py_DECREF(JSONDecodeError);
432
433
434
static void
0 commit comments