summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/testProcess.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-10-10 12:43:41 (GMT)
committerBrad King <brad.king@kitware.com>2017-10-10 12:43:41 (GMT)
commitf1a4ecdc0c62b46c90df5e8d20e6f61d06063894 (patch)
tree405aa77560c8a6855cdda3e6e63b5fa0b4e04af7 /Source/kwsys/testProcess.c
parentc798dc8573a205f90663e9983b793b21fea28521 (diff)
parentc551ff588b48cc4c286922779651890da0f3c22c (diff)
downloadCMake-f1a4ecdc0c62b46c90df5e8d20e6f61d06063894.zip
CMake-f1a4ecdc0c62b46c90df5e8d20e6f61d06063894.tar.gz
CMake-f1a4ecdc0c62b46c90df5e8d20e6f61d06063894.tar.bz2
Merge branch 'upstream-KWSys' into update-kwsys
* upstream-KWSys: KWSys 2017-10-10 (239bc737)
Diffstat (limited to 'Source/kwsys/testProcess.c')
-rw-r--r--Source/kwsys/testProcess.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/kwsys/testProcess.c b/Source/kwsys/testProcess.c
index 092dd03..cd817d9 100644
--- a/Source/kwsys/testProcess.c
+++ b/Source/kwsys/testProcess.c
@@ -687,9 +687,7 @@ int main(int argc, const char* argv[])
fflush(stdout);
fflush(stderr);
#if defined(_WIN32)
- if (argv0) {
- free(argv0);
- }
+ free(argv0);
#endif
return r;
} else if (argc > 2 && strcmp(argv[1], "0") == 0) {