[gnome-settings-daemon] housekeeping: Don't leak notification objects
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] housekeeping: Don't leak notification objects
- Date: Tue, 3 Jul 2012 09:18:22 +0000 (UTC)
commit 02ad04bf8f710dd9a46c66e94d8caee3e63d7f6f
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Jun 29 23:58:04 2012 -0400
housekeeping: Don't leak notification objects
https://bugzilla.gnome.org/show_bug.cgi?id=679177
plugins/housekeeping/gsd-disk-space.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/housekeeping/gsd-disk-space.c b/plugins/housekeeping/gsd-disk-space.c
index 39e7ac6..4c6b3c5 100644
--- a/plugins/housekeeping/gsd-disk-space.c
+++ b/plugins/housekeeping/gsd-disk-space.c
@@ -293,7 +293,7 @@ empty_trash_callback (NotifyNotification *n,
static void
on_notification_closed (NotifyNotification *notification)
{
- notification = NULL;
+ g_object_unref (notification);
}
static gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]