summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormichaeln@google.com <michaeln@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-19 23:08:55 +0000
committermichaeln@google.com <michaeln@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-19 23:08:55 +0000
commit2a0b24ff9daf4316438504a3e594d976b96e39c9 (patch)
tree66503bac9939d2388f1b8e8917fc456b2436c1d2
parent5713385882f91dd6c49701b377495dad31df7d19 (diff)
downloadchromium_src-2a0b24ff9daf4316438504a3e594d976b96e39c9.zip
chromium_src-2a0b24ff9daf4316438504a3e594d976b96e39c9.tar.gz
chromium_src-2a0b24ff9daf4316438504a3e594d976b96e39c9.tar.bz2
Fix a recently introduced leak.
TEST=green membots Review URL: http://codereview.chromium.org/7969002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101859 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--webkit/appcache/appcache_disk_cache.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/appcache/appcache_disk_cache.cc b/webkit/appcache/appcache_disk_cache.cc
index 43bbeb2..4aa3fb5 100644
--- a/webkit/appcache/appcache_disk_cache.cc
+++ b/webkit/appcache/appcache_disk_cache.cc
@@ -41,7 +41,7 @@ class AppCacheDiskCache::EntryImpl : public Entry {
}
virtual void Close() {
disk_cache_entry_->Close();
- disk_cache_entry_ = NULL;
+ delete this;
}
private: