From 5fd52e4302615c80b2bf3eb4561b037da8496432 Mon Sep 17 00:00:00 2001 From: Chenthill Palanisamy Date: Thu, 9 Feb 2006 15:04:56 +0000 Subject: fixes #330521 svn path=/trunk/; revision=31463 --- calendar/ChangeLog | 6 ++++++ calendar/gui/dialogs/alarm-dialog.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'calendar') diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 8257a33fd6..c248829503 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,9 @@ +2006-02-09 Johnny Jacob + + Fixes #330521 + * gui/dialogs/alarm-dialog.c: (alarm_to_aalarm_widgets), + (alarm_to_palarm_widgets): use icalattach_unref. + 2006-02-09 Harish Krishnaswamy * gui/e-cal-model.c: (e_cal_view_objects_added_cb): diff --git a/calendar/gui/dialogs/alarm-dialog.c b/calendar/gui/dialogs/alarm-dialog.c index b0b6932191..7b965c230c 100644 --- a/calendar/gui/dialogs/alarm-dialog.c +++ b/calendar/gui/dialogs/alarm-dialog.c @@ -344,7 +344,7 @@ alarm_to_aalarm_widgets (Dialog *dialog, ECalComponentAlarm *alarm) e_cal_component_alarm_get_attach (alarm, (&attach)); url = icalattach_get_url (attach); - g_free (attach); + icalattach_unref (attach); if ( !(url && *url) ) return; @@ -492,7 +492,7 @@ alarm_to_palarm_widgets (Dialog *dialog, ECalComponentAlarm *alarm) e_cal_component_alarm_get_attach (alarm, (&attach)); url = icalattach_get_url (attach); - g_free (attach); + icalattach_unref (attach); if ( !(url && *url) ) return; -- cgit