summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2012-03-30 11:34:47 +0200
committerMarek Kasik <mkasik@redhat.com>2012-04-13 14:58:59 +0200
commit82aa5d01306e8435aff4ccc2ab7832d9ca422915 (patch)
treeaa45b62898b6341bd3e0f6970f0c53715058d99b
parentf87e38441d080969dd3bd5b3e44efff8b2112488 (diff)
downloadgnome-control-center-82aa5d01306e8435aff4ccc2ab7832d9ca422915.tar.gz
printers: Fix small memory leak
https://bugzilla.gnome.org/show_bug.cgi?id=673151
-rw-r--r--panels/printers/pp-new-printer-dialog.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/panels/printers/pp-new-printer-dialog.c b/panels/printers/pp-new-printer-dialog.c
index 6302a745a..eb134b5f3 100644
--- a/panels/printers/pp-new-printer-dialog.c
+++ b/panels/printers/pp-new-printer-dialog.c
@@ -374,6 +374,8 @@ devices_get_cb (GObject *source_object,
&value);
g_hash_table_insert (devices, key, value);
+
+ g_variant_unref (item);
}
}
g_variant_unref (devices_variant);