[gnome-desktop: 5/6] Don't leak properties in output_initialize
- From: Jonas Ådahl <jadahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-desktop: 5/6] Don't leak properties in output_initialize
- Date: Wed, 1 Aug 2018 16:42:33 +0000 (UTC)
commit b69f1317959ea6141130d778c4a45faeb5aab17f
Author: Sam Morris <sam robots org uk>
Date: Mon Jul 16 12:00:14 2018 +0100
Don't leak properties in output_initialize
https://gitlab.gnome.org/GNOME/gnome-desktop/issues/6
libgnome-desktop/gnome-rr.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/libgnome-desktop/gnome-rr.c b/libgnome-desktop/gnome-rr.c
index f50ddaa1..dca50694 100644
--- a/libgnome-desktop/gnome-rr.c
+++ b/libgnome-desktop/gnome-rr.c
@@ -1431,6 +1431,8 @@ output_initialize (GnomeRROutput *output, GVariant *info)
if (output->is_primary)
output->info->primary = output;
+
+ g_variant_unref (properties);
}
static GnomeRROutput*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]