Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(365)

Unified Diff: net/base/host_resolver_proc.cc

Issue 443019: Fix a memory leak in DnsReloadTimer (Closed)
Patch Set: Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/host_resolver_proc.cc
diff --git a/net/base/host_resolver_proc.cc b/net/base/host_resolver_proc.cc
index 473a70c32c48ffad2ab3267e23733c1ffd9dbc05..c6a011c4d381676fc1b3ff7d3cbaec78dbbd56c3 100644
--- a/net/base/host_resolver_proc.cc
+++ b/net/base/host_resolver_proc.cc
@@ -113,6 +113,7 @@ class DnsReloadTimer {
}
~DnsReloadTimer() {
+ SlotReturnFunction(tls_index_.Get());
wtc 2009/11/30 19:07:46 This only frees the thread local storage of the cu
tls_index_.Free();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698