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
This commit is contained in:

committed by
Rodrigo Moya

parent
dcd838f322
commit
9c06fd0d7f
@ -1,3 +1,8 @@
|
||||
2003-05-13 Rodrigo Moya <rodrigo@ximian.com>
|
||||
|
||||
* gui/alarm-notify/alarm-queue.c (notify_dialog_cb): fixed memory
|
||||
leak introduced by previous commit.
|
||||
|
||||
2003-05-12 Rodrigo Moya <rodrigo@ximian.com>
|
||||
|
||||
Fixes #41760
|
||||
|
@ -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:
|
||||
|
Reference in New Issue
Block a user