mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-22 00:48:53 +02:00
gio: Fix a GError memory leak in GDesktopAppInfo
Spotted by Coverity (CID: #1352961).
This commit is contained in:
@@ -3419,6 +3419,7 @@ run_update_command (char *command,
|
|||||||
* chance of debugging it.
|
* chance of debugging it.
|
||||||
*/
|
*/
|
||||||
g_warning ("%s", error->message);
|
g_warning ("%s", error->message);
|
||||||
|
g_error_free (error);
|
||||||
}
|
}
|
||||||
|
|
||||||
g_free (argv[1]);
|
g_free (argv[1]);
|
||||||
|
Reference in New Issue
Block a user