diff options
author | Adam Jackson <ajax@redhat.com> | 2008-10-06 18:47:06 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2008-10-06 18:47:06 -0400 |
commit | 60cfaa45a532bd3cfcfb4bd57b2f657c0a8b6a6b (patch) | |
tree | e8bc081aadf8042e3f2a6e2067122474a3952402 /render/render.c | |
parent | c6d6d3e87a472b641d883a6c000f96e5bdf48532 (diff) |
Build fix.
Diffstat (limited to 'render/render.c')
-rw-r--r-- | render/render.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/render/render.c b/render/render.c index 9e04a137f..7cb93bd18 100644 --- a/render/render.c +++ b/render/render.c @@ -1571,13 +1571,13 @@ ProcRenderCreateCursor (ClientPtr client) stride = BitmapBytePad(width); nbytes_mono = stride*height; - srcbits = xcalloc(nbytes_mono); + srcbits = xcalloc(1, nbytes_mono); if (!srcbits) { xfree (argbbits); return (BadAlloc); } - mskbits = xcalloc(nbytes_mono); + mskbits = xcalloc(1, nbytes_mono); if (!mskbits) { xfree(argbbits); |