Module: wine Branch: master Commit: 727df7a2ef98af08f95b5930359055219d97ca6e URL: http://source.winehq.org/git/wine.git/?a=commit;h=727df7a2ef98af08f95b593035... Author: Yann Droneaud <yann(a)droneaud.fr> Date: Sun Mar 7 22:37:23 2010 +0100 cmd: Fixed uninitialised field in WCMD_addCommand() (Valgrind). --- programs/cmd/wcmdmain.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/programs/cmd/wcmdmain.c b/programs/cmd/wcmdmain.c index b2243e3..b86801c 100644 --- a/programs/cmd/wcmdmain.c +++ b/programs/cmd/wcmdmain.c @@ -1636,6 +1636,8 @@ static void WCMD_addCommand(WCHAR *command, int *commandLen, } else { thisEntry->command = NULL; + thisEntry->redirects = NULL; + thisEntry->pipeFile[0] = 0x00; } /* Fill in other fields */