<div class="gmail_quote">On Wed, Jul 6, 2011 at 3:08 PM, Paul Colomiets <span dir="ltr">&lt;<a href="mailto:paul@colomiets.name" target="_blank">paul@colomiets.name</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div>On Wed, Jul 6, 2011 at 11:17 AM, Julien Danjou &lt;<a href="mailto:julien@danjou.info" target="_blank">julien@danjou.info</a>&gt; wrote:<br>
&gt; On Wed, Jul 06 2011, Paul Colomiets wrote:<br>
&gt;<br>
&gt;&gt; I believe there is a memory leak in xpyb. It&#39;s somewhere in C code,<br>
&gt;&gt; so garbage collector does not detects it. Basically reply objects<br>
&gt;&gt; free only at exit of the program. You can find the test code at the<br>
&gt;&gt; end of this email.<br></div></blockquote><div><br>The following commit may resolve your problem.  Do you have it in the xpyb that you are using?<br>
If not, you could try manually adding the code and recompiling.<br>
<br>
<a href="http://cgit.freedesktop.org/xcb/xpyb/commit/?id=d4406532543bcdb936b20ffcb03993d7a7207ace">http://cgit.freedesktop.org/xcb/xpyb/commit/?id=d4406532543bcdb936b20ffcb03993d7a7207ace</a><br>
<br> 
<br>
<br>
</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Sorry, where is a bugtracker? :) I&#39;ve filed a bug into xpyb-ng before.<br>
<br>
BTW, how xpyb-ng is related to xpyb. Is it an independent fork? And<br>
does anybody know which one is better?<br></blockquote><div><br><br>Xpyb has been broken now for about a year.  The problem is that changes were made to XCB&#39;s language-independent parser during the 2010 GSOC, and I haven&#39;t had time to grok them and fix xpyb&#39;s code generator.  I&#39;ll get to it when I can, but until then xpyb will only compile with an older release of xcb/proto.  I haven&#39;t been involved with xpyb-ng but if they have a working code generator, that may be helpful in getting xpyb to work again.<br>
</div><br>--Eamon W.<br><br></div>