diff options
author | Bastien Nocera <hadess@hadess.net> | 2012-03-30 11:34:47 +0200 |
---|---|---|
committer | Marek Kasik <mkasik@redhat.com> | 2012-04-13 14:58:59 +0200 |
commit | 82aa5d01306e8435aff4ccc2ab7832d9ca422915 (patch) | |
tree | aa45b62898b6341bd3e0f6970f0c53715058d99b | |
parent | f87e38441d080969dd3bd5b3e44efff8b2112488 (diff) | |
download | gnome-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.c | 2 |
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); |