mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 09:50:02 +00:00
Terminate the new environment with a NULL pointer
svn path=/trunk/; revision=18410
This commit is contained in:
parent
76f3a6da01
commit
2d8f114871
1 changed files with 1 additions and 0 deletions
|
@ -178,6 +178,7 @@ char **DuplicateEnvironment(char **original_environment, int wide)
|
|||
return original_environment;
|
||||
}
|
||||
}
|
||||
*newenvptr = NULL;
|
||||
|
||||
return newenv;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue