[Xcb] Reply Buffering Question

Eamon Walsh ewalsh at tycho.nsa.gov
Fri Nov 16 16:33:10 PST 2007


Eamon Walsh wrote:
> Barton C Massey wrote:
>   
>> The reply data is copied as it is passed to you by
>> xcb_input_list_input_devices_reply().  That's why you need
>> to free the reply at the end.
>>
>> 	Bart
>>   
>>     
>
> diff --git a/src/c-client.xsl b/src/c-client.xsl
> index c90e94f..e61ce82 100644
> --- a/src/c-client.xsl
> +++ b/src/c-client.xsl
> @@ -407,6 +407,8 @@ authorization from the authors.
>          <doc> * The parameter @p e supplied to this function must be NULL if</doc>
>          <doc> * <xsl:value-of select="xcb:xcb-prefix(@name)" />_unchecked(). is used.</doc>
>          <doc> * Otherwise, it stores the error if any.</doc>
> +        <doc> *</doc>
> +        <doc> * The returned value must be freed by the caller using free().</doc>
>          <doc> */</doc>
>          <field type="xcb_connection_t *" name="c" />
>          <field name="cookie">
>   

...And I messed up the push, I apologize.

-- 
Eamon Walsh <ewalsh at tycho.nsa.gov>
National Security Agency



More information about the Xcb mailing list