win32: Fix leak in g_win32_get_command_line()

https://bugzilla.gnome.org/show_bug.cgi?id=741822
This commit is contained in:
TingPing 2014-12-20 18:59:15 -05:00 committed by Patrick Griffis
parent 3cc349b04e
commit b65287fea5

View File

@ -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;
}