summaryrefslogtreecommitdiffstats
path: root/chrome_frame/urlmon_bind_status_callback.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome_frame/urlmon_bind_status_callback.cc')
-rw-r--r--chrome_frame/urlmon_bind_status_callback.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome_frame/urlmon_bind_status_callback.cc b/chrome_frame/urlmon_bind_status_callback.cc
index 006e20e..056ea5e 100644
--- a/chrome_frame/urlmon_bind_status_callback.cc
+++ b/chrome_frame/urlmon_bind_status_callback.cc
@@ -320,6 +320,8 @@ STDMETHODIMP BSCBStorageBind::OnStopBinding(HRESULT hresult, LPCWSTR error) {
ExceptionBarrier barrier;
HRESULT hr = MayPlayBack(BSCF_LASTDATANOTIFICATION);
+ if (FAILED(hr))
+ return hr;
hr = CallbackImpl::OnStopBinding(hresult, error);
ReleaseBind();
return hr;