aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs
diff options
context:
space:
mode:
authorHans Petter Jansson <hpj@ximian.com>2003-03-18 09:46:26 +0800
committerHans Petter <hansp@src.gnome.org>2003-03-18 09:46:26 +0800
commit76d5d480974306cceaa4770620936d19a9b6170d (patch)
tree434417d2d61af46a3623319543a62e43d0fb5715 /calendar/gui/dialogs
parente4c6f61966479fbcb8da64ac49bb578c7f2d5017 (diff)
downloadgsoc2013-evolution-76d5d480974306cceaa4770620936d19a9b6170d.tar.gz
gsoc2013-evolution-76d5d480974306cceaa4770620936d19a9b6170d.tar.zst
gsoc2013-evolution-76d5d480974306cceaa4770620936d19a9b6170d.zip
Fixes #34095
2003-03-17 Hans Petter Jansson <hpj@ximian.com> Fixes #34095 * gui/e-meeting-model.c (append_row): Don't leak meeting attendees; unref the attendee after it's assigned to model. * gui/dialogs/meeting-page.c (meeting_page_destroy): Free the actual array of deleted attendees. * gui/dialogs/event-editor.c (event_editor_destroy): Free the private structure. * gui/itip-utils.c (comp_description): Rework free/busy information composer so we can free date/time information after use. Then free it. (itip_send_comp): Free the allocated CORBA buffer for attachment data. * gui/dialogs/comp-editor-util.c (comp_editor_contacts_to_component): Free the destination contacts string once we're done with it. * gui/e-calendar-table.c (invisible_destroyed): Unref the invisible. * gui/e-day-view.c (invisible_destroyed): Ditto. * gui/e-week-view.c (invisible_destroyed): Ditto. svn path=/trunk/; revision=20329
Diffstat (limited to 'calendar/gui/dialogs')
-rw-r--r--calendar/gui/dialogs/comp-editor-util.c2
-rw-r--r--calendar/gui/dialogs/event-editor.c2
-rw-r--r--calendar/gui/dialogs/meeting-page.c2
3 files changed, 5 insertions, 1 deletions
diff --git a/calendar/gui/dialogs/comp-editor-util.c b/calendar/gui/dialogs/comp-editor-util.c
index fdb8e04b78..2df5f94fa7 100644
--- a/calendar/gui/dialogs/comp-editor-util.c
+++ b/calendar/gui/dialogs/comp-editor-util.c
@@ -480,6 +480,8 @@ comp_editor_contacts_to_component (GtkWidget *contacts_entry,
#endif
contact_destv = e_destination_importv (contacts_string);
+ g_free (contacts_string);
+
if (contact_destv) {
for (i = 0; contact_destv[i] != NULL; i++) {
name = e_destination_get_name (contact_destv[i]);
diff --git a/calendar/gui/dialogs/event-editor.c b/calendar/gui/dialogs/event-editor.c
index 4253ba8889..9004d96e89 100644
--- a/calendar/gui/dialogs/event-editor.c
+++ b/calendar/gui/dialogs/event-editor.c
@@ -397,6 +397,8 @@ event_editor_finalize (GObject *object)
g_object_unref((priv->model));
+ g_free (priv);
+
if (G_OBJECT_CLASS (parent_class)->finalize)
(* G_OBJECT_CLASS (parent_class)->finalize) (object);
}
diff --git a/calendar/gui/dialogs/meeting-page.c b/calendar/gui/dialogs/meeting-page.c
index 8687adb300..483d77b790 100644
--- a/calendar/gui/dialogs/meeting-page.c
+++ b/calendar/gui/dialogs/meeting-page.c
@@ -230,7 +230,7 @@ meeting_page_finalize (GObject *object)
g_object_unref((priv->comp));
cleanup_attendees (priv->deleted_attendees);
- g_ptr_array_free (priv->deleted_attendees, FALSE);
+ g_ptr_array_free (priv->deleted_attendees, TRUE);
g_object_unref((priv->model));