You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Freeing a list does a lot of things. It frees everything
The array, the array->data, the filename, and the element itself.
In some cases the caller is not the owner of all this data, and then the caller will have to run their own solutions for freeing the lists. This requiers knowledge of the implementation etc. Is this code smell?
The text was updated successfully, but these errors were encountered:
Freeing a list does a lot of things. It frees everything
The array, the array->data, the filename, and the element itself.
In some cases the caller is not the owner of all this data, and then the caller will have to run their own solutions for freeing the lists. This requiers knowledge of the implementation etc. Is this code smell?
The text was updated successfully, but these errors were encountered: