aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-day-view-main-item.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/e-day-view-main-item.c')
-rw-r--r--calendar/gui/e-day-view-main-item.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/calendar/gui/e-day-view-main-item.c b/calendar/gui/e-day-view-main-item.c
index 54b0baff3a..eb27595bee 100644
--- a/calendar/gui/e-day-view-main-item.c
+++ b/calendar/gui/e-day-view-main-item.c
@@ -704,6 +704,10 @@ e_day_view_main_item_draw_day_event (EDayViewMainItem *dvmitem,
MIN (E_DAY_VIEW_ICON_HEIGHT,
max_icon_h));
+ gdk_pixmap_unref (pixmap);
+ if (mask != NULL)
+ gdk_bitmap_unref (mask);
+
icon_x += icon_x_inc;
icon_y += icon_y_inc;
}