HomePhabricator

Fix a memory leak introduced w/the instruction padding support in rG14fc20ca6282

Authored by reames on Dec 20 2019, 12:01 PM.

Description

Fix a memory leak introduced w/the instruction padding support in rG14fc20ca6282

Should have caught this in review, but only noticed when addressing post commit style items. We were creating a new instance of the X86MCInstrInfo class, and then never reclaiming the memory. This wasn't even conditional on the new off by default flags, so it was an unconditional leak.

Details

Committed
reamesDec 20 2019, 12:04 PM
Parents
rG8b725f0459ee: Comment and adjust style in the newly introduced MCBoundaryAlignFragment…
Branches
Unknown
Tags
Unknown