[llvm-bugs] [Bug 44263] New: false positive memory leak

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Dec 10 06:47:56 PST 2019


            Bug ID: 44263
           Summary: false positive memory leak
           Product: clang
           Version: 8.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Static Analyzer
          Assignee: dcoughlin at apple.com
          Reporter: rgerhards at hq.adiscon.com
                CC: dcoughlin at apple.com, llvm-bugs at lists.llvm.org

I think I have found a false positive and am reporting it as suggested.

Build report is here:

The same happens also with version 9. It was undetected by version 5 (the one I
used previously). Not sure about 6 and 7. I and a co-worker double checked, we
do not see anything that is wrong. Especially as the missing free is on the
next line.

The code is from the rsyslog project, related PR with all code at

If it is not a false positive, a hint to what is wrong would be appreciated.


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/20191210/efbea657/attachment.html>

More information about the llvm-bugs mailing list