mirror of https://github.com/GNOME/gimp.git
app: replace a g_free_error() by g_clear_error().
As a review fix of MR !470 since the contributor Andrzej Hunt is unfortunately not responding.
This commit is contained in:
parent
345d148e21
commit
7e3cab1475
|
@ -511,10 +511,7 @@ gimp_tag_cache_load (GimpTagCache *cache)
|
|||
{
|
||||
g_printerr ("Failed to parse tag cache: %s\n",
|
||||
error ? error->message : "WTF unknown error");
|
||||
if (error)
|
||||
{
|
||||
g_error_free (error);
|
||||
}
|
||||
g_clear_error (&error);
|
||||
}
|
||||
|
||||
g_object_unref (file);
|
||||
|
|
Loading…
Reference in New Issue