Skip to content

Commit 429356e

Browse files
committed
fix
1 parent af98309 commit 429356e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Modules/_json.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1549,7 +1549,6 @@ encoder_listencode_obj(PyEncoderObject *s, PyUnicodeWriter *writer,
15491549
Py_DECREF(newobj);
15501550
if (rv) {
15511551
_PyErr_FormatNote("when serializing %T object", obj);
1552-
Py_DECREF(newobj);
15531552
goto bail;
15541553
}
15551554

0 commit comments

Comments
 (0)