| Index: third_party/re2/util/sparse_array.h
 | 
| diff --git a/third_party/re2/util/sparse_array.h b/third_party/re2/util/sparse_array.h
 | 
| index 4ee5c949ca25687819646e266d1ca8c3f59fbdac..7bc3a867caf5a7b497b5d1d6986ee5cf8f8d6c08 100644
 | 
| --- a/third_party/re2/util/sparse_array.h
 | 
| +++ b/third_party/re2/util/sparse_array.h
 | 
| @@ -273,13 +273,13 @@ void SparseArray<Value>::resize(int new_max_size) {
 | 
|      int* a = new int[new_max_size];
 | 
|      if (sparse_to_dense_) {
 | 
|        memmove(a, sparse_to_dense_, max_size_*sizeof a[0]);
 | 
| -      // Don't need to zero the memory but appease Valgrind.
 | 
| -      if (valgrind_) {
 | 
| -        for (int i = max_size_; i < new_max_size; i++)
 | 
| -          a[i] = 0xababababU;
 | 
| -      }
 | 
|        delete[] sparse_to_dense_;
 | 
|      }
 | 
| +    // Don't need to zero the memory but appease Valgrind.
 | 
| +    if (valgrind_) {
 | 
| +      for (int i = max_size_; i < new_max_size; i++)
 | 
| +        a[i] = 0xababababU;
 | 
| +    }
 | 
|      sparse_to_dense_ = a;
 | 
|  
 | 
|      dense_.resize(new_max_size);
 | 
| 
 |