[evolution-patches] [Calendar] Fix for 330521
- From: Johnny Jacob <johnnyjacob gmail com>
- To: evolution-patches gnome org
- Subject: [evolution-patches] [Calendar] Fix for 330521
- Date: Thu, 9 Feb 2006 19:20:07 +0530
Hi
Worked on 330521 Editing alarms with "Play a Sound"/"Program to run" crashes evo
Please review
Thanks
Johnny
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.2984
diff -u -p -r1.2984 ChangeLog
--- ChangeLog 9 Feb 2006 11:42:40 -0000 1.2984
+++ ChangeLog 9 Feb 2006 13:47:41 -0000
@@ -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):
Index: gui/dialogs/alarm-dialog.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/dialogs/alarm-dialog.c,v
retrieving revision 1.14
diff -u -p -r1.14 alarm-dialog.c
--- gui/dialogs/alarm-dialog.c 30 Jan 2006 09:48:25 -0000 1.14
+++ gui/dialogs/alarm-dialog.c 9 Feb 2006 13:47:48 -0000
@@ -344,7 +344,7 @@ alarm_to_aalarm_widgets (Dialog *dialog,
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,
e_cal_component_alarm_get_attach (alarm, (&attach));
url = icalattach_get_url (attach);
- g_free (attach);
+ icalattach_unref (attach);
if ( !(url && *url) )
return;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]