[gnome-settings-daemon] xsettings: Fix memleak, using wrong unref function
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] xsettings: Fix memleak, using wrong unref function
- Date: Fri, 18 Feb 2011 16:38:04 +0000 (UTC)
commit 3a62a9262589587dc50a1dd38934689db116b991
Author: Bastien Nocera <hadess hadess net>
Date: Fri Feb 18 16:37:19 2011 +0000
xsettings: Fix memleak, using wrong unref function
plugins/xsettings/gsd-xsettings-manager.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/xsettings/gsd-xsettings-manager.c b/plugins/xsettings/gsd-xsettings-manager.c
index 02a8237..e714324 100644
--- a/plugins/xsettings/gsd-xsettings-manager.c
+++ b/plugins/xsettings/gsd-xsettings-manager.c
@@ -590,7 +590,7 @@ xsettings_callback (GSettings *settings,
process_value (manager, trans, value);
- g_object_unref (value);
+ g_variant_unref (value);
for (i = 0; manager->priv->managers [i]; i++) {
xsettings_manager_set_string (manager->priv->managers [i],
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]