app-system: Fix memory leak
The shell app takes a ref on the info.
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user