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 22cc928 commit 6fe0c5cCopy full SHA for 6fe0c5c
Objects/listobject.c
@@ -3260,7 +3260,6 @@ _PyList_AsTupleAndClear(PyListObject *self)
3260
Py_ssize_t size = Py_SIZE(self);
3261
Py_SET_SIZE(self, 0);
3262
ret = _PyTuple_FromArraySteal(items, size);
3263
- free_list_items(items, false);
3264
Py_END_CRITICAL_SECTION();
3265
return ret;
3266
}
0 commit comments