Fix _unserialize of reply headers
[free-sw/xcb/libxcb] / src / c-client.xsl
index c90e94f..a15d824 100644 (file)
@@ -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">
@@ -449,11 +451,6 @@ authorization from the authors.
         </xsl:when>
       </xsl:choose>
     </xsl:variable>
-    <xsl:choose>
-      <xsl:when test="self::error|self::errorcopy">
-        <constant type="number" name="{xcb:xcb-prefix(concat('Bad', @name))}" value="{@number}" />
-      </xsl:when>
-    </xsl:choose>
     <constant type="number" name="{xcb:xcb-prefix(@name)}" value="{@number}" />
     <xsl:choose>
       <xsl:when test="self::event|self::error">