Skip to content

Strange 'npy_array_list_free()' #14

@oysteijo

Description

@oysteijo

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions