summaryrefslogtreecommitdiff
path: root/src/os_w32exe.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2008-11-12 12:36:30 +0000
committerBram Moolenaar <Bram@vim.org>2008-11-12 12:36:30 +0000
commit12806c8844a5aa6066b6f430924fef0b47170dae (patch)
tree3118223a7233e7253c35e10a538055f6e754882c /src/os_w32exe.c
parent5a22181f59d01abb1c501ecf9580fd721751a62d (diff)
downloadvim-git-12806c8844a5aa6066b6f430924fef0b47170dae.tar.gz
updated for version 7.2-036v7.2.036
Diffstat (limited to 'src/os_w32exe.c')
-rw-r--r--src/os_w32exe.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/os_w32exe.c b/src/os_w32exe.c
index 76f9332a6..93a13899c 100644
--- a/src/os_w32exe.c
+++ b/src/os_w32exe.c
@@ -129,7 +129,8 @@ WinMain(
errout:
#endif
free(argv);
- free(tofree);
+ if (tofree != NULL)
+ free(tofree);
#ifdef FEAT_MBYTE
free_cmd_argsW();
#endif