<html><head></head><body>Before, there was a pointer to the first child, to the previous sibling and to the next sibling. And offsetting was necessary because of public/private structures.<br>
<br>
Now, the same pointers (+ last child) and still some offsetting. Same thing.<br>
<br>
And unless the leaf leaked object was an interface, I don't see why you cannot use the dialog or RC command.<br><br><div class="gmail_quote">Le 17 août 2018 14:39:13 GMT+03:00, Steve Lhomme <robux4@ycbcr.xyz> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">On 17/08/2018 13:26, Rémi Denis-Courmont wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> Before you had to cast and offset the pointers. And now you have to <br> cast and offset the pointers. It's the same tedious process.<br></blockquote><br>No, before I had a simple list with a proper to to iterate into. Now I <br>had to figure out what children and siblings and how to get something <br>out of it. I managed to get it in the end but not without some help. The <br>current code is very cryptic.<br><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"><br> And it does not take one hour to open the objects tree dialog.<br></blockquote><br>I'm not sure if you are serious. The leak detection happens when libvlc <br>is destroyed at which point the UI is long gone.<br><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"><br> Le 17 août 2018 09:41:55 GMT+03:00, Steve Lhomme <robux4@ycbcr.xyz> a <br> écrit :<br><br>     On 16/08/2018 18:45, Rémi Denis-Courmont wrote:<br><br>         Le torstaina 16. elokuuta 2018, 18.20.07 EEST Steve Lhomme a<br>         écrit :<br><br>             Now with vlc_list <br><br>         It is tedious in debugger due to offset LIKE BEFORE. <br><br><br>     No, before we could follow internals->first in the debugger. Now it's<br>     hidden in an opaque list with no type and hidden behind macros.<br><br>         It is trivial in self debugging LIKE BEFORE. In other words,<br>         vlc_list makes literaly no difference.<br><br>             it's impossible to see anything with the debugger. <br><br>         You cannot be serious. <br><br><br>     I spent one hour trying to decypher the API and how it should be used, I<br>     never manage to produce anything out of internals->children. Let alone<br>     internals->siblings which just had garbage in it. I tried<br>     vlc_list_foreach(), vlc_list_first_entry_or_null() no luck.<br><br>     It took me 5 minutes to undo this commit and find my leak.<br><br>         -- Реми Дёни-Курмон <a href="http://www.remlab.net/">http://www.remlab.net/</a><br><hr><br>         vlc-devel mailing list To unsubscribe or modify your<br>         subscription options:<br>         <a href="https://mailman.videolan.org/listinfo/vlc-devel">https://mailman.videolan.org/listinfo/vlc-devel</a> <br><br><br><hr><br><br>     vlc-devel mailing list<br>     To unsubscribe or modify your subscription options:<br>     <a href="https://mailman.videolan.org/listinfo/vlc-devel">https://mailman.videolan.org/listinfo/vlc-devel</a><br><br><br> -- <br> Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez <br> excuser ma brièveté.<br><br><br><hr><br> vlc-devel mailing list<br> To unsubscribe or modify your subscription options:<br> <a href="https://mailman.videolan.org/listinfo/vlc-devel">https://mailman.videolan.org/listinfo/vlc-devel</a><br></blockquote><br><hr><br>vlc-devel mailing list<br>To unsubscribe or modify your subscription options:<br><a href="https://mailman.videolan.org/listinfo/vlc-devel">https://mailman.videolan.org/listinfo/vlc-devel</a></pre></blockquote></div><br>
-- <br>
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.</body></html>