<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Sep 18, 2013 at 8:07 AM, SF Markus Elfring <span dir="ltr"><<a href="mailto:elfring@users.sourceforge.net" target="_blank">elfring@users.sourceforge.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
The null pointer check for the pointer "buf" is not needed in destructors for<br>
classes like "Y4MOutput" and "YUVOutput".<br>
<a href="http://dietmar-kuehl.de/mirror/c++-faq/freestore-mgmt.html#faq-16.8" target="_blank">http://dietmar-kuehl.de/mirror/c++-faq/freestore-mgmt.html#faq-16.8</a><br>
<br>
<a href="https://bitbucket.org/multicoreware/x265/src/1d710404b8bb/source/output/y4m.cpp#cl-44" target="_blank">https://bitbucket.org/multicoreware/x265/src/1d710404b8bb/source/output/y4m.cpp#cl-44</a><br>
<a href="https://bitbucket.org/multicoreware/x265/src/1d710404b8bb/source/output/yuv.cpp#cl-40" target="_blank">https://bitbucket.org/multicoreware/x265/src/1d710404b8bb/source/output/yuv.cpp#cl-40</a></blockquote><div><br>
</div><div>Thanks, patches on the way</div><div> </div></div>-- <br>Steve Borho
</div></div>