Skip to content

Conversation

@kylo5aby
Copy link
Contributor

In MyPassManager::add(), when intercepting and discarding the
FreeMachineFunctionPass to reorder passes, the pass object was
not deleted, may causing a memory leak per pass instance.

The fix properly deletes the discarded pass before returning.

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.

2 participants