From 379a1d1a8c9222f8ba19833c637aa5ee0ad22f3a Mon Sep 17 00:00:00 2001 From: "inferno@chromium.org" Date: Mon, 20 Dec 2010 17:34:11 +0000 Subject: 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 --- chrome/browser/dom_ui/bug_report_ui.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'chrome/browser/dom_ui') 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 -- cgit v1.1