aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2007-10-05 13:47:10 +0800
committerMilan Crha <mcrha@src.gnome.org>2007-10-05 13:47:10 +0800
commite093117ef673e80c54e603ee0ed1dbd487a4bcb6 (patch)
treee5ac65bbf36d179f91b2c22ec7fb8338ed139f50 /calendar
parente188aba01b54c93555963969f008a04c3ca3fa0b (diff)
downloadgsoc2013-evolution-e093117ef673e80c54e603ee0ed1dbd487a4bcb6.tar
gsoc2013-evolution-e093117ef673e80c54e603ee0ed1dbd487a4bcb6.tar.gz
gsoc2013-evolution-e093117ef673e80c54e603ee0ed1dbd487a4bcb6.tar.bz2
gsoc2013-evolution-e093117ef673e80c54e603ee0ed1dbd487a4bcb6.tar.lz
gsoc2013-evolution-e093117ef673e80c54e603ee0ed1dbd487a4bcb6.tar.xz
gsoc2013-evolution-e093117ef673e80c54e603ee0ed1dbd487a4bcb6.tar.zst
gsoc2013-evolution-e093117ef673e80c54e603ee0ed1dbd487a4bcb6.zip
Fixed leak caused by my changes in fix for bug #325685.
2007-10-05 Milan Crha <mcrha@redhat.com> * gui/alarm-notify/alarm-queue.c: (alarm_queue_remove_client): Fixed leak caused by my changes in fix for bug #325685. svn path=/trunk/; revision=34357
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/gui/alarm-notify/alarm-queue.c6
2 files changed, 9 insertions, 2 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 3128badaba..a4d971d48a 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,8 @@
+2007-10-05 Milan Crha <mcrha@redhat.com>
+
+ * gui/alarm-notify/alarm-queue.c: (alarm_queue_remove_client):
+ Fixed leak caused by my changes in fix for bug #325685.
+
2007-10-04 Matthew Barnes <mbarnes@redhat.com>
** Fixes part of bug #477045
diff --git a/calendar/gui/alarm-notify/alarm-queue.c b/calendar/gui/alarm-notify/alarm-queue.c
index 28550d55f7..b650f2e36b 100644
--- a/calendar/gui/alarm-notify/alarm-queue.c
+++ b/calendar/gui/alarm-notify/alarm-queue.c
@@ -2167,9 +2167,11 @@ alarm_queue_remove_client (ECal *client, gboolean immediately)
msg->data = list;
d(printf("%s:%d (alarm_queue_remove_client) - Posting a task\n",__FILE__, __LINE__));
- if (immediately)
+ if (immediately) {
alarm_queue_remove_async (NULL, msg, NULL);
- else
+ g_free (list);
+ g_free (msg);
+ } else
e_thread_put(alarm_operation_thread, (EMsg *)msg);
}