[gnome-builder] egg-widget-action-group: don't leak signal id array



commit afa0d4ec2f725fc7f8a6be5bb2884ddf8d7a2f70
Author: Christian Hergert <chergert redhat com>
Date:   Tue Nov 22 15:29:00 2016 -0800

    egg-widget-action-group: don't leak signal id array
    
    These are transfer-full, so we are responsible for freeing.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=771232

 contrib/egg/egg-widget-action-group.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/contrib/egg/egg-widget-action-group.c b/contrib/egg/egg-widget-action-group.c
index ec6767e..c506544 100644
--- a/contrib/egg/egg-widget-action-group.c
+++ b/contrib/egg/egg-widget-action-group.c
@@ -432,7 +432,7 @@ egg_widget_action_group_list_actions (GActionGroup *group)
 
   if (GTK_IS_WIDGET (self->widget))
     {
-      guint *signal_ids;
+      g_autofree guint *signal_ids = NULL;
       guint n_ids = 0;
       guint i;
 


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