[evolution] EMonthWidget: Fix a memory leak



commit b64d5fdbd62003a22de28131754fbb4aa6ee886c
Author: Milan Crha <mcrha redhat com>
Date:   Wed Jun 29 13:43:53 2022 +0200

    EMonthWidget: Fix a memory leak

 src/e-util/e-month-widget.c | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/src/e-util/e-month-widget.c b/src/e-util/e-month-widget.c
index 75fc584670..4ec22b3e24 100644
--- a/src/e-util/e-month-widget.c
+++ b/src/e-util/e-month-widget.c
@@ -582,8 +582,6 @@ e_month_widget_constructed (GObject *object)
                        if (!ii && !jj)
                                continue;
 
-                       attrs = pango_attr_list_new ();
-
                        if (ii == 0)
                                attrs = attrs_small_tnum;
                        else if (jj == 0)


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