Skip to content

set_pts memory leak #79

@janden

Description

@janden

I want to point out though that using cufinufft that way presupposes the user is carefully managing memory anyway, as CUFINUFFT_SETPTS always mallocs (which is assumed to be freed with the plan in CUFINUFFT_DESTROY) => so by setting new points without first destroying+creating a plan will cause a memory leak (this might be a good discussion in a different issue @MelodyShih @ahbarnett).

Originally posted by @JBlaschke in #71 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions