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:
Rodrigo Moya
2003-05-13 22:59:06 +00:00
committed by Rodrigo Moya
parent dcd838f322
commit 9c06fd0d7f
2 changed files with 9 additions and 0 deletions

View File

@ -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

View File

@ -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: