Index: chrome/browser/ui/webui/about_ui.cc |
diff --git a/chrome/browser/ui/webui/about_ui.cc b/chrome/browser/ui/webui/about_ui.cc |
index b0e9c872c1aac996d40efd6315656bbf5ed6b2ba..4d23d5011c1180690e462b9c59f3f0b5aa300637 100644 |
--- a/chrome/browser/ui/webui/about_ui.cc |
+++ b/chrome/browser/ui/webui/about_ui.cc |
@@ -855,10 +855,11 @@ std::string AboutStats(const std::string& query) { |
// as well. |
for (int index = static_cast<int>(timers->GetSize())-1; index >= 0; |
index--) { |
- Value* value; |
+ scoped_ptr<Value> value; |
timers->Remove(index, &value); |
// We don't care about the value pointer; it's still tracked |
// on the counters list. |
+ ignore_result(value.release()); |
} |
} |
} |