Skip to content

kinsolInterface::initialize leaks if called multiple times #53

@mcneish1

Description

@mcneish1

LS and J are leaked upon successive calls to kinsolInterface::initialize. Additionally, KINInit leaks if called more than once for a given solverMem.

KINInit should be only called when !flags[initialized_flag], and LS/J should be freed here (or in sundialsInterface::allocate, where that happens with the other variables sundialsInterface manages).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions