mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-03 20:40:28 +01:00
Build fix.
This commit is contained in:
parent
c6d6d3e87a
commit
60cfaa45a5
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Reference in a new issue