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: [email protected]
Reporter: [email protected]
CC: [email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs