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 bf48bb4 commit 6a5a1a9Copy full SHA for 6a5a1a9
Python/optimizer.c
@@ -277,6 +277,7 @@ _Py_ClearExecutorDeletionList(PyInterpreterState *interp)
277
278
for (Py_ssize_t i = 0; i < PyList_GET_SIZE(to_free); i++) {
279
_PyExecutorObject *exec = (_PyExecutorObject *)PyList_GET_ITEM(to_free, i);
280
+ PyList_SET_ITEM(to_free, i, NULL);
281
_PyExecutor_Free(exec);
282
}
283
Py_DECREF(to_free);
0 commit comments