This is an archive of the discontinued LLVM Phabricator instance.

Free memory leak on duplicate interface registration
ClosedPublic

Authored by mehdi_amini on Oct 1 2021, 10:17 PM.

Details

Summary

I guess this is why we should use unique_ptr as much as possible.
Also fix the InterfaceAttachmentTest.cpp test.

Event Timeline

mehdi_amini created this revision.Oct 1 2021, 10:17 PM
mehdi_amini requested review of this revision.Oct 1 2021, 10:17 PM
rriddle accepted this revision.Oct 1 2021, 10:28 PM
This revision is now accepted and ready to land.Oct 1 2021, 10:28 PM
This revision was automatically updated to reflect the committed changes.