diff options
Diffstat (limited to 'randr/rrcrtc.c')
-rw-r--r-- | randr/rrcrtc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/randr/rrcrtc.c b/randr/rrcrtc.c index ee29f37a3..c91c7fdf9 100644 --- a/randr/rrcrtc.c +++ b/randr/rrcrtc.c @@ -1526,7 +1526,7 @@ ProcRRGetCrtcTransform(ClientPtr client) nextra = (transform_filter_length(pending) + transform_filter_length(current)); - reply = malloc(sizeof(xRRGetCrtcTransformReply) + nextra); + reply = calloc(1, sizeof(xRRGetCrtcTransformReply) + nextra); if (!reply) return BadAlloc; |