mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
app-system: Fix memory leak
The shell app takes a ref on the info.
This commit is contained in:
parent
78343f4837
commit
09fe31179a
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue