Skip to content

free called on memory allocated by new #4

@rcrandall

Description

@rcrandall

free(activation);

Calling free on memory allocated by new results in undefined behavior, this is not safe. This should be replaced with
delete[] activation;
and similarly for the other locations where free is called.

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