[glib] Bug 621319 - more leaked GVariants in GSettings
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Bug 621319 - more leaked GVariants in GSettings
- Date: Wed, 16 Jun 2010 22:36:39 +0000 (UTC)
commit f0d30e0c0c645b585478dcae58a4e8d4cdd80fd8
Author: Ryan Lortie <desrt desrt ca>
Date: Wed Jun 16 18:36:24 2010 -0400
Bug 621319 - more leaked GVariants in GSettings
Caught by Felix Riemann.
gio/gsettings.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gio/gsettings.c b/gio/gsettings.c
index c2d991b..49eb97f 100644
--- a/gio/gsettings.c
+++ b/gio/gsettings.c
@@ -1873,6 +1873,7 @@ g_settings_binding_key_changed (GSettings *settings,
g_object_set_property (binding->object,
binding->property->name,
&value);
+ g_variant_unref (variant);
g_value_unset (&value);
binding->running = FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]