summaryrefslogtreecommitdiffstats
path: root/chrome/browser/dom_ui
diff options
context:
space:
mode:
authorinferno@chromium.org <inferno@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-20 17:34:11 +0000
committerinferno@chromium.org <inferno@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-20 17:34:11 +0000
commit379a1d1a8c9222f8ba19833c637aa5ee0ad22f3a (patch)
tree083256b7686d35f3e2ae8ff7cd1a601f02eac504 /chrome/browser/dom_ui
parent33d76cb36c8a658ddee5a833e5aeb771d2075a84 (diff)
downloadchromium_src-379a1d1a8c9222f8ba19833c637aa5ee0ad22f3a.zip
chromium_src-379a1d1a8c9222f8ba19833c637aa5ee0ad22f3a.tar.gz
chromium_src-379a1d1a8c9222f8ba19833c637aa5ee0ad22f3a.tar.bz2
Initialize bug_report_ to NULL so as make sure invalid pointer is not freed.
BUG=67393 TEST=NONE Review URL: http://codereview.chromium.org/6066002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69721 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/dom_ui')
-rw-r--r--chrome/browser/dom_ui/bug_report_ui.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/dom_ui/bug_report_ui.cc b/chrome/browser/dom_ui/bug_report_ui.cc
index 545df18..4c92c73 100644
--- a/chrome/browser/dom_ui/bug_report_ui.cc
+++ b/chrome/browser/dom_ui/bug_report_ui.cc
@@ -492,6 +492,7 @@ void BugReportData::SendReport() {
BugReportHandler::BugReportHandler(TabContents* tab)
: tab_(tab)
, screenshot_source_(NULL)
+ , bug_report_(NULL)
#if defined(OS_CHROMEOS)
, syslogs_handle_(0)
#endif