aboutsummaryrefslogtreecommitdiff
path: root/flang/unittests/Runtime/CharacterTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'flang/unittests/Runtime/CharacterTest.cpp')
-rw-r--r--flang/unittests/Runtime/CharacterTest.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/flang/unittests/Runtime/CharacterTest.cpp b/flang/unittests/Runtime/CharacterTest.cpp
index e54fd8a..d462c91 100644
--- a/flang/unittests/Runtime/CharacterTest.cpp
+++ b/flang/unittests/Runtime/CharacterTest.cpp
@@ -259,6 +259,9 @@ void RunExtremumTests(const char *which,
t.expect[i], t.expect[i] + std::strlen(t.expect[i])};
EXPECT_EQ(expect, got) << "inputs: '" << t.x[i] << "','" << t.y[i] << "'";
}
+
+ x->Deallocate();
+ y->Deallocate();
}
}