This is an archive of the discontinued LLVM Phabricator instance.

Fix a memory leak in the Python implementation of bytecode writer
ClosedPublic

Authored by apaszke on Jun 21 2023, 9:37 AM.

Details

Summary

The bytecode writer config was heap-allocated, but was never freed, causing ASAN errors.

Diff Detail

Event Timeline

apaszke created this revision.Jun 21 2023, 9:37 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 21 2023, 9:37 AM
apaszke requested review of this revision.Jun 21 2023, 9:37 AM
jpienaar accepted this revision.Jun 21 2023, 9:38 AM
This revision is now accepted and ready to land.Jun 21 2023, 9:38 AM
This revision was landed with ongoing or failed builds.Jun 21 2023, 9:41 AM
This revision was automatically updated to reflect the committed changes.