Skip to content

Memleak in get_scope() #1391

@vaind

Description

@vaind

init_scope() has been split out of get_scope() in #1248
However, for some reason (@jpnurmi do you know why? probably because you needed a clean object for the other call to init_scope()?) g_scope.client_sdk = get_client_sdk(); stayed in get_scope() and overwrites the previously set sentry_value_new_null() without decref.
Image

Metadata

Metadata

Assignees

Labels

BugSomething isn't workingNative

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions