Skip to content

Memory leak in JointBeliefSparse.cpp #14

@laurimi

Description

@laurimi

TGet* T = pu.GetTGet();

This line creates uses new to create a pointer, but the memory is never freed. This can probably be fixed simply by adding delete T; this is what JointBelief.cpp does in the analogous function.

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