From 2e0265d59422ab35d244f6102a9c6b9aff743c30 Mon Sep 17 00:00:00 2001 From: Michael Terry Date: Fri, 8 Apr 2011 16:33:51 -0400 Subject: don't merely free an app, it has to be properly removed from list and such --- src/application-service-appstore.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/application-service-appstore.c b/src/application-service-appstore.c index 3e827d5..4cafdfc 100644 --- a/src/application-service-appstore.c +++ b/src/application-service-appstore.c @@ -498,7 +498,8 @@ got_all_properties (GObject * source_object, GAsyncResult * res, if (menu == NULL || id == NULL || category == NULL || status == NULL || icon_name == NULL) { g_warning("Notification Item on object %s of %s doesn't have enough properties.", app->dbus_object, app->dbus_name); - g_free(app); // Need to do more than this, but it gives the idea of the flow we're going for. + if (!app->validated) + application_free(app); } else { app->validated = TRUE; -- cgit v1.2.3