[LLVMbugs] [Bug 17474] False memory leak reported by clang static analyzer

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Oct 8 10:31:14 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=17474

hiraditya <hiraditya at msn.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #4 from hiraditya <hiraditya at msn.com> ---
I see...
Now when I'm trying with the latest release I'm getting the 4 reports (even
with .ii files).
1. Dereference of null pointer.
2. Returning null reference.
3. Called C++ object pointer is null.
4. call to malloc has an allocation of 0 byte.

but none of them are memory leaks!

I got the false memory leak errors while using a little old version of the
compiler. I guess we should close this bug.

If yo want the .cc files you can find it here:

https://chromium.googlesource.com/chromium/src/+/afd04fc04431e28d2b625209a92abd55374ae177/content/renderer/browser_plugin/browser_plugin_bindings.cc


Thanks,

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20131008/729d2f17/attachment.html>


More information about the llvm-bugs mailing list