This function is provided by the user and should free the boxed structure passed.
The boxed structure to be freed.