diff options
-rw-r--r-- | calendar/gui/e-cal-component-preview.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/calendar/gui/e-cal-component-preview.c b/calendar/gui/e-cal-component-preview.c index f93b162b2d..6720156911 100644 --- a/calendar/gui/e-cal-component-preview.c +++ b/calendar/gui/e-cal-component-preview.c @@ -378,9 +378,7 @@ cal_component_preview_write_html (GString *buffer, static void cal_component_preview_finalize (GObject *object) { - ECalComponentPreview *preview; - - clear_comp_info (E_CAL_COMPONENT_PREVIEW (preview)); + clear_comp_info (E_CAL_COMPONENT_PREVIEW (object)); /* Chain up to parent's finalize() method. */ G_OBJECT_CLASS (parent_class)->finalize (object); |