[pango/pango2: 72/135] layout: Fix an oversight




commit 780ff89b799b2427caf6d8166ceba2718985bfc8
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Jan 25 20:48:44 2022 -0500

    layout: Fix an oversight

 pango/pango-layout.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/pango/pango-layout.c b/pango/pango-layout.c
index 1810e128..e6587c0f 100644
--- a/pango/pango-layout.c
+++ b/pango/pango-layout.c
@@ -677,7 +677,7 @@ retry:
         {
           if (pango_line_breaker_undo_line (breaker, line))
             {
-              g_clear_object (&line);
+              g_clear_pointer (&line, pango_line_free);
               ellipsize = layout->ellipsize;
               goto retry;
             }


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