From 21a6e471080b9a2f2a7e15967e9584a2d606e02b Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Fri, 16 Sep 2011 16:37:06 -0500 Subject: Ensure we set a default value for aicon --- src/application-service-appstore.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/application-service-appstore.c b/src/application-service-appstore.c index 7b9c652..76e1c4a 100644 --- a/src/application-service-appstore.c +++ b/src/application-service-appstore.c @@ -527,6 +527,8 @@ got_all_properties (GObject * source_object, GAsyncResult * res, g_free(app->aicon); if (aicon_name != NULL) { app->aicon = g_variant_dup_string(aicon_name, NULL); + } else { + app->aicon = NULL; } g_free(app->icon_theme_path); -- cgit v1.2.3