Frees all the data elements of the datalist.
The data elements' destroy functions are called if they have been set.
a datalist.