Skip to content

Commit 5435423

Browse files
fix refleak
1 parent b9dedfe commit 5435423

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Modules/_testcapimodule.c

+1
Original file line numberDiff line numberDiff line change
@@ -3382,6 +3382,7 @@ slot_tp_del(PyObject *self)
33823382
else
33833383
Py_DECREF(res);
33843384
}
3385+
Py_DECREF(tp_del);
33853386

33863387
/* Restore the saved exception. */
33873388
PyErr_Restore(error_type, error_value, error_traceback);

0 commit comments

Comments
 (0)