Build fix.
This commit is contained in:
parent
c6d6d3e87a
commit
60cfaa45a5
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue