[Mlir-commits] [mlir] e394c4e - [mlir][capi] Fix leak in test
Daniel Resnick
llvmlistbot at llvm.org
Mon Apr 4 11:26:23 PDT 2022
Author: Daniel Resnick
Date: 2022-04-04T12:26:13-06:00
New Revision: e394c4e5d972861f005379f490f316e0d1b84f21
URL: https://github.com/llvm/llvm-project/commit/e394c4e5d972861f005379f490f316e0d1b84f21
DIFF: https://github.com/llvm/llvm-project/commit/e394c4e5d972861f005379f490f316e0d1b84f21.diff
LOG: [mlir][capi] Fix leak in test
Added:
Modified:
mlir/test/CAPI/pass.c
Removed:
################################################################################
diff --git a/mlir/test/CAPI/pass.c b/mlir/test/CAPI/pass.c
index aeabac4fd844d..bdfaebfed16e7 100644
--- a/mlir/test/CAPI/pass.c
+++ b/mlir/test/CAPI/pass.c
@@ -512,6 +512,7 @@ void testExternalPass() {
}
mlirTypeIDAllocatorDestroy(typeIDAllocator);
+ mlirModuleDestroy(module);
mlirContextDestroy(ctx);
}
More information about the Mlir-commits
mailing list