diff --git a/src/common/utility/tarray.h b/src/common/utility/tarray.h index bce3ba3ea1..3445bd4840 100644 --- a/src/common/utility/tarray.h +++ b/src/common/utility/tarray.h @@ -919,6 +919,7 @@ public: TDeletingArray(TDeletingArray &&other) : TArray(std::move(other)) {} TDeletingArray &operator=(TDeletingArray &&other) { + DeleteAndClear(); TArray::operator=(std::move(other)); return *this; }