From 7cb992088ed714c39476cf16f2da9ed3aa7871d9 Mon Sep 17 00:00:00 2001 From: TerisGH Date: Thu, 10 Sep 2020 02:11:33 +0200 Subject: [PATCH] cleared mpPtrArray in base destructor (#389) --- include/EASTL/deque.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/EASTL/deque.h b/include/EASTL/deque.h index 4568a0bf..3b570092 100644 --- a/include/EASTL/deque.h +++ b/include/EASTL/deque.h @@ -564,6 +564,7 @@ namespace eastl { DoFreeSubarrays(mItBegin.mpCurrentArrayPtr, mItEnd.mpCurrentArrayPtr + 1); DoFreePtrArray(mpPtrArray, mnPtrArraySize); + mpPtrArray = nullptr; } }