diff options
author | Benjamin Lerman <qsr@chromium.org> | 2015-10-14 17:35:47 +0200 |
---|---|---|
committer | Benjamin Lerman <qsr@chromium.org> | 2015-10-14 17:35:47 +0200 |
commit | ef7575d35a0ca5a77025374306ffa911275c7fed (patch) | |
tree | a2e6c700c026da53c93f10c4257dc593c8f08c43 /src | |
parent | Revert "[Docs] Add wiki content to Markdown docs" (diff) | |
download | breakpad-ef7575d35a0ca5a77025374306ffa911275c7fed.tar.xz |
Only release current_breakpad_ if it is defined.
R=mark@chromium.org
Review URL: https://codereview.chromium.org/1402453006 .
Diffstat (limited to 'src')
-rw-r--r-- | src/client/ios/Breakpad.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/ios/Breakpad.mm b/src/client/ios/Breakpad.mm index 0a1fc2ad..ce635bd2 100644 --- a/src/client/ios/Breakpad.mm +++ b/src/client/ios/Breakpad.mm @@ -263,8 +263,8 @@ void Breakpad::UncaughtExceptionHandler(NSException *exception) { NSSetUncaughtExceptionHandler(NULL); if (current_breakpad_) { current_breakpad_->HandleUncaughtException(exception); + BreakpadRelease(current_breakpad_); } - BreakpadRelease(current_breakpad_); } //============================================================================= |