update-appstream: Fix crash in case there are no 128x128 icons

tingping/wmclass
Alexander Larsson 2016-01-24 21:26:40 +01:00
parent 7940a773ef
commit 4eb7b14996
1 changed files with 1 additions and 1 deletions

View File

@ -1652,7 +1652,7 @@ extract_appstream (OstreeRepo *repo,
g_print ("Error copying 64x64 icon: %s\n", my_error->message);
g_clear_error (&my_error);
}
if (!copy_icon (id, root, dest, "128x128", NULL))
if (!copy_icon (id, root, dest, "128x128", &my_error))
{
g_print ("Error copying 128x12 icon: %s\n", my_error->message);
g_clear_error (&my_error);