From 8699aca7d7d83ca8ef758a5efe12da9c7e7396fc Mon Sep 17 00:00:00 2001 From: Ikey Doherty Date: Fri, 6 Nov 2015 03:29:05 +0000 Subject: [PATCH] backends/x11: Ensure reply is initialised to NULL https://bugzilla.gnome.org/show_bug.cgi?id=757661 --- src/backends/x11/meta-monitor-manager-xrandr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backends/x11/meta-monitor-manager-xrandr.c b/src/backends/x11/meta-monitor-manager-xrandr.c index cc7a4440a..b35b18127 100644 --- a/src/backends/x11/meta-monitor-manager-xrandr.c +++ b/src/backends/x11/meta-monitor-manager-xrandr.c @@ -348,7 +348,7 @@ output_get_backlight_limits_xrandr (MetaMonitorManagerXrandr *manager_xrandr, { Atom atom; xcb_connection_t *xcb_conn; - g_autofree xcb_randr_query_output_property_reply_t *reply; + g_autofree xcb_randr_query_output_property_reply_t *reply = NULL; atom = XInternAtom (manager_xrandr->xdisplay, "Backlight", False);