diff --git a/randr/rrcrtc.c b/randr/rrcrtc.c index 97aa3d7fa..0fc818887 100644 --- a/randr/rrcrtc.c +++ b/randr/rrcrtc.c @@ -1682,9 +1682,9 @@ ProcRRSetCrtcConfigs (ClientPtr client) rrScrPrivPtr scr_priv; xRRCrtcConfig *x_configs; RRScreenConfigRec screen_config; - RRCrtcConfigPtr configs; + RRCrtcConfigPtr configs = NULL; RROutput *output_ids; - int num_configs; + int num_configs = 0; int rc, i; int extra_len; int num_output_ids;