diff --git a/src/win/win.c b/src/win/win.c index 5175d65e3..a9aec2a81 100644 --- a/src/win/win.c +++ b/src/win/win.c @@ -336,6 +336,9 @@ ProcessCommandLine(wchar_t ***argw) args[argc] = NULL; *argw = args; + if (argbuf != NULL) + free(argbuf); + return(argc); }