[gnome-shell/eos3.8: 153/255] fixup! shell-app-system: Add support for X-Endless-Alias key in desktop files



commit 2bdf355e5d0815e64d66b9d422dcf6929f232c0b
Author: Andre Moreira Magalhaes <andre endlessm com>
Date:   Mon Mar 30 22:35:22 2020 -0300

    fixup! shell-app-system: Add support for X-Endless-Alias key in desktop files
    
    Fix memory corruption, info is now set to shell_app_cache_get_info(), which is
    transfer none.
    
    https://phabricator.endlessm.com/T29660

 src/shell-app-system.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/src/shell-app-system.c b/src/shell-app-system.c
index 2794cc3d14..ad9f408c0f 100644
--- a/src/shell-app-system.c
+++ b/src/shell-app-system.c
@@ -453,8 +453,7 @@ shell_app_system_lookup_app (ShellAppSystem   *self,
 {
   ShellAppSystemPrivate *priv = self->priv;
   ShellApp *app;
-  g_autoptr(GDesktopAppInfo) info = NULL;
-  g_autofree char *alias = NULL;
+  GDesktopAppInfo *info;
 
   app = g_hash_table_lookup (priv->id_to_app, id);
   if (app)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]