diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-06-30 21:56:01 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-06-30 21:56:01 +0000 |
commit | e6b165e0f4f70d22a4fbcc5c9a1818417bdb1b04 (patch) | |
tree | 584373ca902692085457b72a232ad58956987f6e /src/gui_w48.c | |
parent | 9c96f592af7a88e63ebf63f82d1b36b3954af401 (diff) | |
download | vim-git-e6b165e0f4f70d22a4fbcc5c9a1818417bdb1b04.tar.gz |
updated for version 7.0098
Diffstat (limited to 'src/gui_w48.c')
-rw-r--r-- | src/gui_w48.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui_w48.c b/src/gui_w48.c index be2354681..97a0ca00e 100644 --- a/src/gui_w48.c +++ b/src/gui_w48.c @@ -3500,7 +3500,10 @@ get_cmd_args(char *prog, char *cmdline, char ***argvp, char **tofree) { argv = (char **)malloc((argc + 1) * sizeof(char *)); if (argv == NULL ) + { + vim_free(newcmdline); return 0; /* malloc error */ + } pnew = newcmdline; } } |