<div dir="ltr">On Tue, Sep 30, 2014 at 2:34 AM, Rémi Denis-Courmont <span dir="ltr"><<a href="mailto:remi@remlab.net" target="_blank">remi@remlab.net</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Le 2014-09-30 04:07, <a href="mailto:git@videolan.org" target="_blank">git@videolan.org</a> a écrit :<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
         p_sys->i_nb_samples = 0;<br>
         p_block = block_Alloc( i_used );<br>
+        if( !p_block )<br>
+        {<br>
+            if( p_chain )<br>
+                block_Release( p_chain );<br>
</blockquote>
<br>
Isn't that effectively leaking the (rest of the) chain?<br></blockquote><div><br></div><div>Yes that should have been block_ChainRelease, thanks for the catch.<br> <br></div><div>Best,<br>Tristan<br></div></div></div></div>