A Block is optionally allocated and can leak in failed parse. Change Block
parsing to ensure Block gets freed unless parse is successful. defineBlockNamed
had only 1 call site, inline and track whether allocation was performed.
Details
Details
- Reviewers
mehdi_amini rriddle - Commits
- rG0217d1178b9f: [mlir] Fix leak in case of failed parse
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Can you add a comment for this?