summaryrefslogtreecommitdiffstats
path: root/chrome_frame/bho.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome_frame/bho.cc')
-rw-r--r--chrome_frame/bho.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome_frame/bho.cc b/chrome_frame/bho.cc
index aa333b7..e679a20 100644
--- a/chrome_frame/bho.cc
+++ b/chrome_frame/bho.cc
@@ -254,7 +254,8 @@ HRESULT Bho::OnHttpEquiv(IBrowserService_OnHttpEquiv_Fn original_httpequiv,
} else if (done) {
DLOG(INFO) << "Releasing cached data.";
NavigationManager* mgr = NavigationManager::GetThreadInstance();
- mgr->ReleaseRequestData();
+ if (mgr)
+ mgr->ReleaseRequestData();
}
return original_httpequiv(browser, shell_view, done, in_arg, out_arg);