summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-26 12:18:23 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-26 12:18:23 +0000
commit267327ee4a17950e348c1f7ffd5209662e1d9adc (patch)
treed8a7927fd7a751621991495df1946fac8d7b8947 /net
parent5f46ed5ef581d34d3bf6d24d3a38d27b206f3c97 (diff)
downloadchromium_src-267327ee4a17950e348c1f7ffd5209662e1d9adc.zip
chromium_src-267327ee4a17950e348c1f7ffd5209662e1d9adc.tar.gz
chromium_src-267327ee4a17950e348c1f7ffd5209662e1d9adc.tar.bz2
Fix a memory leak in DnsReloadTimer
TBR=wtc BUG=12710 Review URL: http://codereview.chromium.org/443019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33204 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r--net/base/host_resolver_proc.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/base/host_resolver_proc.cc b/net/base/host_resolver_proc.cc
index 473a70c3..c6a011c 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());
tls_index_.Free();
}