app-system: Fix memory leak

The shell app takes a ref on the info.
This commit is contained in:
Jasper St. Pierre 2013-11-03 16:18:39 -05:00
parent 78343f4837
commit 09fe31179a

View File

@ -142,6 +142,7 @@ shell_app_system_lookup_app (ShellAppSystem *self,
app = _shell_app_new (info);
g_hash_table_insert (priv->id_to_app, (char *) shell_app_get_id (app), app);
g_object_unref (info);
return app;
}