Build fix.
This commit is contained in:
parent
c6d6d3e87a
commit
60cfaa45a5
|
@ -1571,13 +1571,13 @@ ProcRenderCreateCursor (ClientPtr client)
|
||||||
|
|
||||||
stride = BitmapBytePad(width);
|
stride = BitmapBytePad(width);
|
||||||
nbytes_mono = stride*height;
|
nbytes_mono = stride*height;
|
||||||
srcbits = xcalloc(nbytes_mono);
|
srcbits = xcalloc(1, nbytes_mono);
|
||||||
if (!srcbits)
|
if (!srcbits)
|
||||||
{
|
{
|
||||||
xfree (argbbits);
|
xfree (argbbits);
|
||||||
return (BadAlloc);
|
return (BadAlloc);
|
||||||
}
|
}
|
||||||
mskbits = xcalloc(nbytes_mono);
|
mskbits = xcalloc(1, nbytes_mono);
|
||||||
if (!mskbits)
|
if (!mskbits)
|
||||||
{
|
{
|
||||||
xfree(argbbits);
|
xfree(argbbits);
|
||||||
|
|
Loading…
Reference in New Issue