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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant