diff options
author | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-08 19:10:02 +0000 |
---|---|---|
committer | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-08 19:10:02 +0000 |
commit | 4e4a68a3c3fd7d9019eb9f0edf001841fb1a35ce (patch) | |
tree | 78c8231996304c7a1f48d93b978b909c02024e84 /chrome/browser/cocoa/browser_window_controller.mm | |
parent | b4b3a91b7f7b30b0aa1628b43b61ee9aebce562f (diff) | |
download | chromium_src-4e4a68a3c3fd7d9019eb9f0edf001841fb1a35ce.zip chromium_src-4e4a68a3c3fd7d9019eb9f0edf001841fb1a35ce.tar.gz chromium_src-4e4a68a3c3fd7d9019eb9f0edf001841fb1a35ce.tar.bz2 |
Fix a memory leak in ChromeFrame which is caused by leaking the urlmon transaction objects.
This occurs because we return INET_E_TERMINATED_BIND from our IBindStatusCallback::OnDataAvailable
implementation to keep the transaction around, which leaks.
To ensure that it is freed correctly we issue a dummy BindToObject call on the moniker
which fails and cleans up the transaction.
Fixes bug http://code.google.com/p/chromium/issues/detail?id=57549
Bug=57549
Review URL: http://codereview.chromium.org/3570017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61997 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/browser_window_controller.mm')
0 files changed, 0 insertions, 0 deletions