mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-25 15:00:09 +00:00
Build fix.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user