gio: Fix a GError memory leak in GDesktopAppInfo

Spotted by Coverity (CID: #1352961).
This commit is contained in:
Philip Withnall 2016-03-15 18:03:00 +00:00
parent d8a7d5f168
commit 27660b178e

View File

@ -3419,6 +3419,7 @@ run_update_command (char *command,
* chance of debugging it.
*/
g_warning ("%s", error->message);
g_error_free (error);
}
g_free (argv[1]);