<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Jul 8, 2014 at 7:55 AM, Benjamin Kramer <span dir="ltr"><<a href="mailto:benny.kra@googlemail.com" target="_blank">benny.kra@googlemail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: d0k<br>
Date: Tue Jul  8 09:55:06 2014<br>
New Revision: 212537<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=212537&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=212537&view=rev</a><br>
Log:<br>
Fix some Twine locals.<br>
<br>
Two of those are use after frees. Found by clang-tidy, fixed by me.<br></blockquote><div><br></div><div>More like, "use after destroy" bugs, right?  I thought Twine doesn't do any heap allocation, just stack allocation.</div>
<div><br></div><div>It's easy for these to bugs slip in when you have a compiler that doesn't aggressively reuse stack space of dead temporaries.  *cough clang -O0*</div></div></div></div>