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);