aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/alarm-notify
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2003-05-14 06:59:06 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2003-05-14 06:59:06 +0800
commit9c06fd0d7f85ad322ba9e996e64587f60ad19d9d (patch)
treedb5a019e91ff25c5823708f228f0f85103910ec3 /calendar/gui/alarm-notify
parentdcd838f32280b7cda464f46108b4ca6b5777b6da (diff)
downloadgsoc2013-evolution-9c06fd0d7f85ad322ba9e996e64587f60ad19d9d.tar
gsoc2013-evolution-9c06fd0d7f85ad322ba9e996e64587f60ad19d9d.tar.gz
gsoc2013-evolution-9c06fd0d7f85ad322ba9e996e64587f60ad19d9d.tar.bz2
gsoc2013-evolution-9c06fd0d7f85ad322ba9e996e64587f60ad19d9d.tar.lz
gsoc2013-evolution-9c06fd0d7f85ad322ba9e996e64587f60ad19d9d.tar.xz
gsoc2013-evolution-9c06fd0d7f85ad322ba9e996e64587f60ad19d9d.tar.zst
gsoc2013-evolution-9c06fd0d7f85ad322ba9e996e64587f60ad19d9d.zip
fixed memory leak introduced by previous commit.
2003-05-13 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/alarm-queue.c (notify_dialog_cb): fixed memory leak introduced by previous commit. svn path=/trunk/; revision=21162
Diffstat (limited to 'calendar/gui/alarm-notify')
-rw-r--r--calendar/gui/alarm-notify/alarm-queue.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/calendar/gui/alarm-notify/alarm-queue.c b/calendar/gui/alarm-notify/alarm-queue.c
index eefd954f15..c973901bd3 100644
--- a/calendar/gui/alarm-notify/alarm-queue.c
+++ b/calendar/gui/alarm-notify/alarm-queue.c
@@ -695,6 +695,10 @@ notify_dialog_cb (AlarmNotifyResult result, int snooze_mins, gpointer data)
switch (result) {
case ALARM_NOTIFY_SNOOZE:
create_snooze (c->cqa, c->alarm_id, snooze_mins);
+
+ g_object_unref (c->comp);
+ g_object_unref (c->client);
+ g_free (c);
return;
case ALARM_NOTIFY_EDIT: