Author: juha
Date: 2008-07-20 17:49:09 +0000 (Sun, 20 Jul 2008)
New Revision: 27354

Modified:
   xfcalendar/trunk/src/ical-code.c
   xfcalendar/trunk/src/reminder.c
Log:
fixed small memory leak in ical categories handling


Modified: xfcalendar/trunk/src/ical-code.c
===================================================================
--- xfcalendar/trunk/src/ical-code.c    2008-07-20 14:50:11 UTC (rev 27353)
+++ xfcalendar/trunk/src/ical-code.c    2008-07-20 17:49:09 UTC (rev 27354)
@@ -2587,6 +2587,7 @@
     g_free(appt->sound);
     g_free(appt->procedure_cmd);
     g_free(appt->procedure_params);
+    g_free(appt->categories);
     /*
     g_free(appt->email_attendees);
     */

Modified: xfcalendar/trunk/src/reminder.c
===================================================================
--- xfcalendar/trunk/src/reminder.c     2008-07-20 14:50:11 UTC (rev 27353)
+++ xfcalendar/trunk/src/reminder.c     2008-07-20 17:49:09 UTC (rev 27354)
@@ -596,7 +596,7 @@
 #endif
     status = orage_exec(alarm->cmd, &active, &error);
     if (!status)
-        g_warning("create_procedure_reminder: cmd failed(%s)", alarm->cmd);
+        g_warning(P_N "cmd failed(%s)", alarm->cmd);
 }
 
 static void create_reminders(alarm_struct *alarm)

_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to