Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
nit
  • Loading branch information
corona10 committed Feb 17, 2024
commit 6b8eaa2824f571337d0875e1df6189e85c9ce010
2 changes: 1 addition & 1 deletion Objects/listobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,7 @@ list_clear(PyListObject *a)
while (--i >= 0) {
Py_XDECREF(items[i]);
}
// TODO: Use QSBR to free the memory in the background
// TODO: Use QSBR technique, if the list is shared between threads,
PyMem_Free(items);

// Note that there is no guarantee that the list is actually empty
Expand Down