Skip to content

Commit 53f949a

Browse files
committed
fix
1 parent 99fb7e6 commit 53f949a

File tree

1 file changed

+1
-0
lines changed
  • Modules/_testinternalcapi

1 file changed

+1
-0
lines changed

Modules/_testinternalcapi/set.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ set_next_entry(PyObject *self, PyObject *args)
3636
Py_DECREF(item);
3737
return ret;
3838
}
39+
Py_DECREF(item);
3940
assert(item == UNINITIALIZED_PTR);
4041
assert(hash == (Py_hash_t)UNINITIALIZED_SIZE);
4142
if (rc == -1) {

0 commit comments

Comments
 (0)