Skip to content

Incorrect copy constructor creates memory leak #511

@FJShen

Description

@FJShen

inst_trace_t::inst_trace_t(const inst_trace_t &b) {
if (memadd_info != NULL) {
memadd_info = new inst_memadd_info_t();
memadd_info = b.memadd_info;
}
}

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