[mlir] Fix leak in case of failed parse
A Block is optionally allocated & leaks in case of failed parse. Inline the function and ensure Block gets freed unless parse is successful. Differential Revision: https://reviews.llvm.org/D122112
Loading
Please sign in to comment