Skip to content

Memory leak? sc_default_global_context seems never delete #164

Description

@XiuliangWang

sc_default_global_context = new sc_simcontext;

sc_default_global_context was assigned a pointer by creating a sc_simcontext on the heap, but in the code repo, I could not find anywhere this piece of memory is freed. Is it a memory leak? Or is it intentional to keep this sc_simcontext? If so, what is the point of keeping it even after sc_simcontext class is destroyed?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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