Oops, we can't just delete the State* here.

Change-Id: I3bfcbb82a618e658faef098d45c95d65ff3331bd
Reviewed-on: https://code-review.googlesource.com/5256
Reviewed-by: Paul Wankadia <junyer@google.com>
diff --git a/re2/dfa.cc b/re2/dfa.cc
index ea86d27..0cc58a1 100644
--- a/re2/dfa.cc
+++ b/re2/dfa.cc
@@ -752,7 +752,8 @@
   while (begin != end) {
     StateSet::iterator tmp = begin;
     ++begin;
-    delete *tmp;
+    // Deallocate the blob of memory that we allocated in DFA::CachedState().
+    delete[] reinterpret_cast<const char*>(*tmp);
   }
   state_cache_.clear();
 }