diff --git a/glib/gwin32.c b/glib/gwin32.c index fc4416bf2..0efc7084c 100644 --- a/glib/gwin32.c +++ b/glib/gwin32.c @@ -729,5 +729,6 @@ g_win32_get_command_line (void) result[i] = g_utf16_to_utf8 (args[i], -1, NULL, NULL, NULL); result[i] = NULL; + LocalFree (args); return result; }