Skip to content

Memory leak when reading TRestDetectorSignalEvent from older files #125

Description

@cmargalejo

While reviewing rest-for-physics/framework#564 , we found out that reading a TRestDetectorSignalEvent explodes and gets killed if the file was produced with older REST versions (observed in a v2.4.0, but molst like also present in up to 2.4.2). A v2.4.3 file reads fine.

No obvious leak in the class destructor like in #124, as fSignal is std::vector<TRestDetectorSignal> by value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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