aboutsummaryrefslogtreecommitdiff
path: root/flang/unittests/Runtime/ArrayConstructor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'flang/unittests/Runtime/ArrayConstructor.cpp')
-rw-r--r--flang/unittests/Runtime/ArrayConstructor.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/flang/unittests/Runtime/ArrayConstructor.cpp b/flang/unittests/Runtime/ArrayConstructor.cpp
index 62e3b78..53774a0 100644
--- a/flang/unittests/Runtime/ArrayConstructor.cpp
+++ b/flang/unittests/Runtime/ArrayConstructor.cpp
@@ -127,6 +127,9 @@ TEST(ArrayConstructor, Character) {
0);
result.Deallocate();
cookieAllocator.deallocate(acVector, 1);
+ x->Deallocate();
+ y->Deallocate();
+ c->Deallocate();
}
TEST(ArrayConstructor, CharacterRuntimeCheck) {