Index: runtime/vm/megamorphic_cache_table.cc |
diff --git a/runtime/vm/megamorphic_cache_table.cc b/runtime/vm/megamorphic_cache_table.cc |
index 9b80f80127846d75e950c02f9a23d9dc5837c748..4705b21900c3c4396ba436edcf486ab8fe5e9aaa 100644 |
--- a/runtime/vm/megamorphic_cache_table.cc |
+++ b/runtime/vm/megamorphic_cache_table.cc |
@@ -148,7 +148,7 @@ void MegamorphicCacheTable::PrintSizes(Isolate* isolate) { |
static_cast<double>(cumulative_entries) / |
static_cast<double>(entry_count)); |
} |
- delete probe_counts; |
+ delete[] probe_counts; |
} |
} // namespace dart |