Chromium Code Reviews| Index: Source/wtf/Vector.h |
| diff --git a/Source/wtf/Vector.h b/Source/wtf/Vector.h |
| index db435570babb827628a9e632196c942013a4f652..a49fb68864c175df5ee972dd0b8fdea8f42aedf8 100644 |
| --- a/Source/wtf/Vector.h |
| +++ b/Source/wtf/Vector.h |
| @@ -389,6 +389,7 @@ static const size_t kInitialVectorSize = WTF_VECTOR_INITIAL_SIZE; |
| ~VectorBuffer() |
| { |
| deallocateBuffer(buffer()); |
| + m_buffer = 0; |
| } |
| void allocateBuffer(size_t newCapacity) |