In that same code, right before &quot;PY_DECREF(descr)&quot;, should there also be a &quot;PY_XDECREF(type)&quot;? it looks like it might leak a reference to &quot;type&quot; otherwise.<br><br>the line in question - <a href="http://hg.python.org/cpython/file/8c355edc5b1d/Objects/descrobject.c#l628">http://hg.python.org/cpython/file/8c355edc5b1d/Objects/descrobject.c#l628</a><br>

<br>- Eli Collins<br><br><div class="gmail_quote">On Sat, Dec 17, 2011 at 8:02 AM, Benjamin Peterson <span dir="ltr">&lt;<a href="mailto:benjamin@python.org">benjamin@python.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

2011/12/17 Michael Mueller &lt;<a href="mailto:mmueller@vigilantsw.com">mmueller@vigilantsw.com</a>&gt;:<br>
<div class="im">&gt;<br>
&gt; Hopefully someone can take a look and determine the appropriate fix.<br>
<br>
</div>Fixed.<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
Regards,<br>
Benjamin<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Python-Dev mailing list<br>
<a href="mailto:Python-Dev@python.org">Python-Dev@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/python-dev" target="_blank">http://mail.python.org/mailman/listinfo/python-dev</a><br>
Unsubscribe: <a href="http://mail.python.org/mailman/options/python-dev/elic%40assurancetechnologies.com" target="_blank">http://mail.python.org/mailman/options/python-dev/elic%40assurancetechnologies.com</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><table><tbody><tr>
<td rowspan="3" valign="middle"><img src="http://www.assurancetechnologies.com/img/inset/ast-email-logo-48.png"></td>
<td style="font-size:13px;color:#71718c">
<span style="font-size:15px">Eli Collins</span>   <a style="font-style:italic;color:#a4a4b2;text-decoration:none" href="mailto:elic@assurancetechnologies.com" target="_blank">elic@assurancetechnologies.com</a><br>
Software Development &amp; I.T. Consulting<br>
Assurance Technologies   <a style="font-style:italic;color:#a4a4b2;text-decoration:none" href="http://www.assurancetechnologies.com" target="_blank">www.assurancetechnologies.com</a><br>
</td></tr></tbody></table>
<br>