aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchen@src.gnome.org>2006-02-09 23:04:56 +0800
committerChenthill Palanisamy <pchen@src.gnome.org>2006-02-09 23:04:56 +0800
commit5fd52e4302615c80b2bf3eb4561b037da8496432 (patch)
treefb13acb3d9e0fac9efce1bc98aed4a41d07bd7fd /calendar
parentc52ad9438e7914262f5e139de155180a635c8943 (diff)
downloadgsoc2013-evolution-5fd52e4302615c80b2bf3eb4561b037da8496432.tar.gz
gsoc2013-evolution-5fd52e4302615c80b2bf3eb4561b037da8496432.tar.zst
gsoc2013-evolution-5fd52e4302615c80b2bf3eb4561b037da8496432.zip
fixes #330521
svn path=/trunk/; revision=31463
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog6
-rw-r--r--calendar/gui/dialogs/alarm-dialog.c4
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;