Skip to content

Commit 8f57f17

Browse files
zklausvstinner
andcommitted
Update Python/sysmodule.c
Co-authored-by: Victor Stinner <vstinner@python.org>
1 parent 44ce7c7 commit 8f57f17

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Python/sysmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3689,10 +3689,10 @@ make_abi_info(void)
36893689
goto error;
36903690
}
36913691
res = PyDict_SetItemString(abi_info, "byteorder", value);
3692+
Py_DECREF(value);
36923693
if (res < 0) {
36933694
goto error;
36943695
}
3695-
Py_DECREF(value);
36963696

36973697
ns = _PyNamespace_New(abi_info);
36983698
Py_DECREF(abi_info);

0 commit comments

Comments
 (0)