[gtk] widget: Fix a small memory leak



commit 7db2abf91850fda5e28f8534de347f329420f28b
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Dec 24 19:39:37 2019 -0500

    widget: Fix a small memory leak

 gtk/gtkwidget.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 57a8421e62..dadee32823 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -9819,6 +9819,7 @@ layout_property_info_free (gpointer data)
   g_free (pinfo->name);
   g_free (pinfo->context);
   g_string_free (pinfo->value, TRUE);
+  g_free (pinfo);
 }
 
 static void


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