diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-04 19:24:42 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-04 19:24:42 +0000 |
commit | d22d873921f2f657b483a01a398ddce3001747a1 (patch) | |
tree | 4190718501c4cae47302ea1a8be8ee7b6f4c41cd /chrome/browser/browser_main.cc | |
parent | 30cf2bf9a44e5f97ddd497113bce74feb6b4b517 (diff) | |
download | chromium_src-d22d873921f2f657b483a01a398ddce3001747a1.zip chromium_src-d22d873921f2f657b483a01a398ddce3001747a1.tar.gz chromium_src-d22d873921f2f657b483a01a398ddce3001747a1.tar.bz2 |
Fix various uses of release() that did not check its value
BUG=42904
TEST=compile, unit tests
Review URL: http://codereview.chromium.org/1730024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46376 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_main.cc')
-rw-r--r-- | chrome/browser/browser_main.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/browser_main.cc b/chrome/browser/browser_main.cc index b2b4489..6caace3 100644 --- a/chrome/browser/browser_main.cc +++ b/chrome/browser/browser_main.cc @@ -1241,7 +1241,7 @@ int BrowserMain(const MainFunctionParams& parameters) { // browser_shutdown takes care of deleting browser_process, so we need to // release it. - browser_process.release(); + ignore_result(browser_process.release()); browser_shutdown::Shutdown(); return result_code; |