mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
fixup CodeHealth: Fix leaked raw_ptr in Linux ProcessSingleton
This commit is contained in:
@@ -65,7 +65,7 @@ index 02d9eabfef9521722340739bf86df3dfc30018d7..af8639ebcc61d8081a12334f652a551d
|
||||
#if BUILDFLAG(IS_WIN)
|
||||
bool EscapeVirtualization(const base::FilePath& user_data_dir);
|
||||
diff --git a/chrome/browser/process_singleton_posix.cc b/chrome/browser/process_singleton_posix.cc
|
||||
index 298c9c81fa110ad7900d0bd6822136bb57f0382e..457cebeb3fe41f0dd55eabf600b6cf2ef758b193 100644
|
||||
index 298c9c81fa110ad7900d0bd6822136bb57f0382e..da7aaed23e4e0cdc037490bbe8beaea705b48df5 100644
|
||||
--- a/chrome/browser/process_singleton_posix.cc
|
||||
+++ b/chrome/browser/process_singleton_posix.cc
|
||||
@@ -610,6 +610,7 @@ class ProcessSingleton::LinuxWatcher
|
||||
@@ -92,7 +92,7 @@ index 298c9c81fa110ad7900d0bd6822136bb57f0382e..457cebeb3fe41f0dd55eabf600b6cf2e
|
||||
- base::CommandLine(argv), base::FilePath(current_dir))) {
|
||||
+ base::CommandLine(argv),
|
||||
+ base::FilePath(current_dir),
|
||||
+ std::move(additional_data)) {
|
||||
+ std::move(additional_data))) {
|
||||
// Send back "ACK" message to prevent the client process from starting up.
|
||||
reader->FinishWithACK(kACKToken, std::size(kACKToken) - 1);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user