array->data = 0;
XdmcpReadARRAY16 (buffer, array)    XdmcpBufferPtr  buffer;    ARRAY16Ptr	    array;{    int	    i;    if (!XdmcpReadCARD8 (buffer, &array->length))	return FALSE;    if (!array->length)    {	array->data = 0;	return TRUE;    }    array->data = (CARD16 *) Xalloc (array->length * sizeof (CARD16));    if (!array->data)	return FALSE;    for (i = 0; i < (int)array->length; i++)    {	if (!XdmcpReadCARD16 (buffer, &array->data[i]))	{	    Xfree (array->data);	    return FALSE;	}    }    return TRUE;}