mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-26 05:56:14 +01:00
win32: Fix leak in g_win32_get_command_line()
https://bugzilla.gnome.org/show_bug.cgi?id=741822
This commit is contained in:
parent
3cc349b04e
commit
b65287fea5
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user