[asan] fix two memory leaks in integration tests
authorAart Bik <ajcbik@google.com>
Tue, 24 Jan 2023 19:57:16 +0000 (11:57 -0800)
committerAart Bik <ajcbik@google.com>
Tue, 24 Jan 2023 20:35:34 +0000 (12:35 -0800)
commitf6b87c0029f124704c2fc87924db8b9a431b61c5
tree6ae76a181a06dbcb8ad55813d44eec1f83ea0478
parent78a5f0a78ae11028e5e8337eb4039d7b88c8985e
[asan] fix two memory leaks in integration tests

Note that I did not track why this started failing exactly,
which is why I CC Matthias on this fix. But at least we run
asan clean again for the whole suite after this change.

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D142496
mlir/test/Integration/Dialect/Memref/cast-runtime-verification.mlir
mlir/test/Integration/Dialect/Vector/CPU/test-transfer-write.mlir