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

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Oct 3 16:02:16 PDT 2013


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

            Bug ID: 17474
           Summary: False memory leak reported by clang static analyzer
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Static Analyzer
          Assignee: kremenek at apple.com
          Reporter: hiraditya at msn.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

CLang static analyzer reports memory leak when the pointer to allocated memory
is stored in a container and the memory is deallocated later on when the
container is destroyed.

Test case '.ii' file is attached with the report.

To analyze, I used the following command:

clang++ -std=c++11 --analyze -c browser_plugin_bindings.ii -Wno-c++11-narrowing

-- 
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/20131003/d44e6db3/attachment.html>


More information about the llvm-bugs mailing list