aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs
diff options
context:
space:
mode:
authorHans Petter Jansson <hpj@ximian.com>2003-04-16 06:26:11 +0800
committerHans Petter <hansp@src.gnome.org>2003-04-16 06:26:11 +0800
commit1cddfbd5e59cc1de55072c79bf44447620f1ebc0 (patch)
tree27670c9e02b310900a6421fe1c7118a706344e73 /calendar/gui/dialogs
parent824d2c8bfab90deba9ef28de90cac27adc1a6dfb (diff)
downloadgsoc2013-evolution-1cddfbd5e59cc1de55072c79bf44447620f1ebc0.tar
gsoc2013-evolution-1cddfbd5e59cc1de55072c79bf44447620f1ebc0.tar.gz
gsoc2013-evolution-1cddfbd5e59cc1de55072c79bf44447620f1ebc0.tar.bz2
gsoc2013-evolution-1cddfbd5e59cc1de55072c79bf44447620f1ebc0.tar.lz
gsoc2013-evolution-1cddfbd5e59cc1de55072c79bf44447620f1ebc0.tar.xz
gsoc2013-evolution-1cddfbd5e59cc1de55072c79bf44447620f1ebc0.tar.zst
gsoc2013-evolution-1cddfbd5e59cc1de55072c79bf44447620f1ebc0.zip
If we already have an evolution_dir, free the old one before setting it
2003-04-15 Hans Petter Jansson <hpj@ximian.com> * gui/calendar-component.c (owner_set_cb): If we already have an evolution_dir, free the old one before setting it anew. * gui/e-day-view-time-item.c (e_day_view_time_item_draw): Unref the metrics. * gui/e-day-view.c (e_day_view_style_set): Unref the metrics. (e_day_view_recalc_cell_sizes): We don't need font metrics here. (e_day_view_reshape_long_event): Ditto. * gui/e-meeting-model.c (init): Don't dup the string passed to e_table_without_hide(). * gui/e-meeting-time-sel.c (e_meeting_time_selector_style_set): Unref the metrics. (e_meeting_time_selector_recalc_date_form): Doesn't need metrics. * gui/e-week-view-main-item.c (e_week_view_main_item_draw_day): Unref the metrics. * gui/e-week-view.c (e_week_view_style_set): Unref metrics. (e_week_view_recalc_cell_sizes): Ditto. (e_week_view_reshape_event_span): Move Pango stuff to where it can't be leaked due to an early return. Unref metrics. * gui/weekday-picker.c (weekday_picker_style_set): Unref metrics. * gui/dialogs/meeting-page.c (meeting_page_finalize): Free default address. svn path=/trunk/; revision=20857
Diffstat (limited to 'calendar/gui/dialogs')
-rw-r--r--calendar/gui/dialogs/meeting-page.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/calendar/gui/dialogs/meeting-page.c b/calendar/gui/dialogs/meeting-page.c
index cbc9dcdf4a..e786945f5f 100644
--- a/calendar/gui/dialogs/meeting-page.c
+++ b/calendar/gui/dialogs/meeting-page.c
@@ -278,6 +278,11 @@ meeting_page_finalize (GObject *object)
priv->xml = NULL;
}
+ if (priv->default_address) {
+ g_free (priv->default_address);
+ priv->default_address = NULL;
+ }
+
g_free (priv);
mpage->priv = NULL;