aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/dialogs/alarm-dialog.c4
1 files changed, 2 insertions, 2 deletions
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;