The docstring of the __list_place
function for the list datatype, says that the function is allocating new memory, when it doesn't.
@return a pointer to the newly-allocated copy of the payload into the list. This is different from the container node, which is not exposed to the caller.