summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/automation/automation_provider.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/automation/automation_provider.cc b/chrome/browser/automation/automation_provider.cc
index cdeea75..8383feb 100644
--- a/chrome/browser/automation/automation_provider.cc
+++ b/chrome/browser/automation/automation_provider.cc
@@ -807,8 +807,8 @@ void AutomationProvider::ConnectToChannel(const std::wstring& channel_id) {
new IPC::SyncChannel(channel_id, IPC::Channel::MODE_CLIENT, this, NULL,
g_browser_process->io_thread()->message_loop(),
true, g_browser_process->shutdown_event()));
- FileVersionInfo* file_version_info =
- FileVersionInfo::CreateFileVersionInfoForCurrentModule();
+ scoped_ptr<FileVersionInfo> file_version_info(
+ FileVersionInfo::CreateFileVersionInfoForCurrentModule());
std::string version_string(WideToASCII(file_version_info->file_version()));
// Send a hello message with our current automation protocol version.