[evolution] ECalendarItem: Fix a memory leak



commit e574751387406936204f7c146401b0576f3412c6
Author: Milan Crha <mcrha redhat com>
Date:   Thu Sep 11 15:16:29 2014 +0200

    ECalendarItem: Fix a memory leak

 e-util/e-calendar-item.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/e-util/e-calendar-item.c b/e-util/e-calendar-item.c
index 1c01610..0527dc2 100644
--- a/e-util/e-calendar-item.c
+++ b/e-util/e-calendar-item.c
@@ -2658,6 +2658,7 @@ e_calendar_item_convert_position_to_day (ECalendarItem *calitem,
        ythickness = padding.top;
 
        pango_font_metrics_unref (font_metrics);
+       g_object_unref (pango_context);
 
        *entire_week = FALSE;
 


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