diff options
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/ChangeLog | 6 | ||||
-rw-r--r-- | calendar/gui/dialogs/alarm-dialog.c | 4 |
2 files changed, 8 insertions, 2 deletions
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 <johnnyjacob@gmail.com> + + Fixes #330521 + * gui/dialogs/alarm-dialog.c: (alarm_to_aalarm_widgets), + (alarm_to_palarm_widgets): use icalattach_unref. + 2006-02-09 Harish Krishnaswamy <kharish@novell.com> * 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; |