From 46493ac9b5d6fb632cb10281af922a2158ccf18c Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Thu, 25 Oct 2018 02:36:31 +0000 Subject: Fix use of __libcpp_deallocate in dynarray llvm-svn: 345234 --- libcxx/include/experimental/dynarray | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcxx') diff --git a/libcxx/include/experimental/dynarray b/libcxx/include/experimental/dynarray index a60c87c3f97..00256c90bc6 100644 --- a/libcxx/include/experimental/dynarray +++ b/libcxx/include/experimental/dynarray @@ -146,7 +146,7 @@ private: static inline _LIBCPP_INLINE_VISIBILITY void __deallocate_value(value_type* __ptr ) noexcept { - _VSTD::__libcpp_deallocate(static_cast(__ptr), __alignof(value_type)); + _VSTD::__libcpp_deallocate_unsized(static_cast(__ptr), __alignof(value_type)); } public: -- cgit v1.2.3