Skip to content

Conversation

@kylo5aby
Copy link
Contributor

When gct_vm_begin_rootset_enumeration returns failure, the mark_node
allocated during the enumeration process was not being freed, causing
a memory leak.

Fix by calling rollback_mark() to release any allocated mark_node
before returning GC_ERROR.

Signed-off-by: zhenweijin <zhenwei.jin@intel.com>
@kylo5aby kylo5aby requested a review from no1wudi as a code owner January 20, 2026 06:25
@lum1n0us lum1n0us added the bug-fix Determine if this PR addresses a bug. It will be used by scripts to classify PRs. label Jan 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug-fix Determine if this PR addresses a bug. It will be used by scripts to classify PRs.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants