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 19f08fbdbb
commit 8fe24c11fa

View File

@ -333,7 +333,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);