mirror of
https://github.com/openbsd/xenocara.git
synced 2025-12-09 02:39:00 +00:00
Update to xserver 1.4.2. Tested by landry@, ckuethe@, jsing@ mbalmer@.
This commit is contained in:
@@ -1197,7 +1197,7 @@ AllocateOutputBuffer(void)
|
||||
oco = (ConnectionOutputPtr)xalloc(sizeof(ConnectionOutput));
|
||||
if (!oco)
|
||||
return (ConnectionOutputPtr)NULL;
|
||||
oco->buf = (unsigned char *) xalloc(BUFSIZE);
|
||||
oco->buf = (unsigned char *) xcalloc(1, BUFSIZE);
|
||||
if (!oco->buf)
|
||||
{
|
||||
xfree(oco);
|
||||
|
||||
Reference in New Issue
Block a user