[gtk/inscription-leak-fixes: 1/2] inscription: Plug a memory leak




commit 164039083913e84de2da383da10b6126dba318d3
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Aug 12 20:01:34 2022 -0400

    inscription: Plug a memory leak
    
    PangoLayoutIter needs to be freed.

 gtk/gtkinscription.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/gtk/gtkinscription.c b/gtk/gtkinscription.c
index 4dfa8e5eb3..edad5f7ac9 100644
--- a/gtk/gtkinscription.c
+++ b/gtk/gtkinscription.c
@@ -490,6 +490,7 @@ gtk_inscription_allocate (GtkWidget *widget,
                   }
               }
           }
+        pango_layout_iter_free (iter);
       }
       break;
 


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