forked from OSchip/llvm-project
[mlir][capi] Fix leak in test
This commit is contained in:
parent
dacb2713c4
commit
e394c4e5d9
|
@ -512,6 +512,7 @@ void testExternalPass() {
|
||||||
}
|
}
|
||||||
|
|
||||||
mlirTypeIDAllocatorDestroy(typeIDAllocator);
|
mlirTypeIDAllocatorDestroy(typeIDAllocator);
|
||||||
|
mlirModuleDestroy(module);
|
||||||
mlirContextDestroy(ctx);
|
mlirContextDestroy(ctx);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue