diff options
author | ukai@chromium.org <ukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-01 09:03:12 +0000 |
---|---|---|
committer | ukai@chromium.org <ukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-01 09:03:12 +0000 |
commit | 425bff92e9d536eef7c079c559df480a1eb48c34 (patch) | |
tree | 88296d37fa47496e425e0357c8d7b8cf2a98eb2b /tools/heapcheck | |
parent | e7d19ebde89ca50807999eba062cfb2b47ac9337 (diff) | |
download | chromium_src-425bff92e9d536eef7c079c559df480a1eb48c34.zip chromium_src-425bff92e9d536eef7c079c559df480a1eb48c34.tar.gz chromium_src-425bff92e9d536eef7c079c559df480a1eb48c34.tar.bz2 |
Fix leak in WebSocketThrottleTest::Throttle
chromium r43192 add check of next_state_ to call DoLoop in
SocketStream::Close(), so if next_state_ is STATE_NONE, we don't need socket->AddRef() to balance Release() in SocketStream::Finish().
BUG=39979
TEST=valgrind passes WebSocketThrottleTest
Review URL: http://codereview.chromium.org/1517010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43328 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/heapcheck')
-rw-r--r-- | tools/heapcheck/suppressions.txt | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tools/heapcheck/suppressions.txt b/tools/heapcheck/suppressions.txt index ca9eff0..7e44c2b 100644 --- a/tools/heapcheck/suppressions.txt +++ b/tools/heapcheck/suppressions.txt @@ -323,10 +323,3 @@ ... fun:browser_sync::SyncBackendHost::Core::NotifyFrontend } - -{ - bug_39979 - Heapcheck:Leak - ... - fun:net::WebSocketThrottleTest_Throttle_Test::TestBody -} |