Skip to content

Commit

Permalink
cleared mpPtrArray in base destructor (#389)
Browse files Browse the repository at this point in the history
  • Loading branch information
arda-min authored Sep 10, 2020
1 parent 28172c0 commit 7cb9920
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/EASTL/deque.h
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,7 @@ namespace eastl
{
DoFreeSubarrays(mItBegin.mpCurrentArrayPtr, mItEnd.mpCurrentArrayPtr + 1);
DoFreePtrArray(mpPtrArray, mnPtrArraySize);
mpPtrArray = nullptr;
}
}

Expand Down

0 comments on commit 7cb9920

Please sign in to comment.