[Xfce4-commits] [xfce/garcon] 01/02: Fix use after free crash (Bug #15679)

noreply at xfce.org noreply at xfce.org
Sat Jul 6 18:44:38 CEST 2019


This is an automated email from the git hooks/post-receive script.

a   n   d   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/garcon.

commit 6f452937366bb1599fb0ae986958786d52946f15
Author: Andre Miranda <andreldm at xfce.org>
Date:   Sat Jul 6 13:42:20 2019 -0300

    Fix use after free crash (Bug #15679)
---
 garcon/garcon-menu-item.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/garcon/garcon-menu-item.c b/garcon/garcon-menu-item.c
index 35f6bed..5f23467 100644
--- a/garcon/garcon-menu-item.c
+++ b/garcon/garcon-menu-item.c
@@ -1154,6 +1154,8 @@ garcon_menu_item_reload_from_file (GarconMenuItem  *item,
 
   /* Update application actions */
   _garcon_g_list_free_full (item->priv->actions, garcon_menu_item_action_unref);
+  item->priv->actions = NULL;
+
   str_list = xfce_rc_read_list_entry (rc, G_KEY_FILE_DESKTOP_KEY_ACTIONS, ";");
   if (G_LIKELY (str_list != NULL))
     {

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list