<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 18, 2013 at 11:22 PM, Jordan Rose <span dir="ltr"><<a href="mailto:jordan_rose@apple.com" target="_blank">jordan_rose@apple.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Interesting. I don't think we've ever tried to stack ownership attributes, but this makes plenty of sense. Please file a bug with a standalone test case, though I can't promise we'll get to it any time soon. Meanwhile, you can disable the "unix.MismatchedDeallocator" checker until this is fixed.</div>

<div></div></blockquote></div><br><br></div><div class="gmail_extra">OK, I've done that. As Anna noted, actually this produces too many false positives anyway.<br><br></div><div class="gmail_extra">I think what I hoped is that the annotations would let me tie in to the existing malloc warnings (which<br>

would allow me to usefully annotate other functions which I know return allocated memory which<br>ought to be freed) but in fact it's using a quite different checker which (for our codebase) is too noisy to<br>be useful.<br>

<br></div></div>