From ff6d984bb6c9fd7fbba7a6382976260f0f2dfd8f Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Tue, 11 Sep 2001 23:32:45 +0000 Subject: free the destination vector when we finish with it, if we actually add 2001-09-11 JP Rosevear * gui/dialogs/meeting-page.c (invite_entry_changed): free the destination vector when we finish with it, if we actually add anyone, notify listeners of the needs send and changed info. Fixes bug #8632. svn path=/trunk/; revision=12771 --- calendar/ChangeLog | 7 +++++++ calendar/gui/dialogs/meeting-page.c | 9 ++++----- 2 files changed, 11 insertions(+), 5 deletions(-) (limited to 'calendar') diff --git a/calendar/ChangeLog b/calendar/ChangeLog index afa3907a89..9c124fe127 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,10 @@ +2001-09-11 JP Rosevear + + * gui/dialogs/meeting-page.c (invite_entry_changed): free the + destination vector when we finish with it, if we actually add + anyone, notify listeners of the needs send and changed info. Fixes + bug #8632. + 2001-09-10 Zbigniew Chyla * gui/print.c diff --git a/calendar/gui/dialogs/meeting-page.c b/calendar/gui/dialogs/meeting-page.c index 2af24d2400..b02efe4735 100644 --- a/calendar/gui/dialogs/meeting-page.c +++ b/calendar/gui/dialogs/meeting-page.c @@ -801,13 +801,12 @@ invite_entry_changed (BonoboListener *listener, row_cnt = row_count (priv->model, mpage) - 1; e_table_model_row_inserted (priv->model, row_cnt); - } - - /* FIXME: Should you unref destv[i], JP?? - Damon */ + comp_editor_page_notify_needs_send (COMP_EDITOR_PAGE (mpage)); + comp_editor_page_notify_changed (COMP_EDITOR_PAGE (mpage)); + } } - - /* FIXME: Should you g_free() destv, JP?? - Damon */ + e_destination_freev (destv); } static void -- cgit v1.2.3