backends/x11: Ensure reply is initialised to NULL

https://bugzilla.gnome.org/show_bug.cgi?id=757661
This commit is contained in:
Ikey Doherty 2015-11-06 03:29:05 +00:00 committed by Jeremy Bicha
parent 2ec91abf38
commit 8699aca7d7

View File

@ -348,7 +348,7 @@ output_get_backlight_limits_xrandr (MetaMonitorManagerXrandr *manager_xrandr,
{ {
Atom atom; Atom atom;
xcb_connection_t *xcb_conn; 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); atom = XInternAtom (manager_xrandr->xdisplay, "Backlight", False);