summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libcxxabi/test/exception_object_alignment.pass.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcxxabi/test/exception_object_alignment.pass.cpp b/libcxxabi/test/exception_object_alignment.pass.cpp
index addef18e05a..960751b3b4e 100644
--- a/libcxxabi/test/exception_object_alignment.pass.cpp
+++ b/libcxxabi/test/exception_object_alignment.pass.cpp
@@ -28,6 +28,7 @@ int main() {
auto i = reinterpret_cast<uintptr_t>(p);
auto a = std::alignment_of<S>::value;
assert(i % a == 0);
+ __cxxabiv1::__cxa_free_exception(p);
#endif
return 0;
}
OpenPOWER on IntegriCloud