mirror of
https://github.com/etlegacy/Update-Installer.git
synced 2025-04-17 11:30:50 +00:00
Merge branch 'master' of ssh://gitweb/git/desktop/standalone-updater
This commit is contained in:
commit
4d7ddc91d9
1 changed files with 1 additions and 1 deletions
|
@ -257,7 +257,7 @@ int ProcessUtils::runAsyncUnix(const std::string& executable,
|
|||
if (child == 0)
|
||||
{
|
||||
// in child process
|
||||
char** argBuffer = new char*[args.size() + 1];
|
||||
char** argBuffer = new char*[args.size() + 2];
|
||||
argBuffer[0] = strdup(executable.c_str());
|
||||
int i = 1;
|
||||
for (std::list<std::string>::const_iterator iter = args.begin(); iter != args.end(); iter++)
|
||||
|
|
Loading…
Reference in a new issue