[LLVMbugs] [Bug 14808] New: valgrind memcheck shows memory leaks

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jan 4 16:49:58 PST 2013


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

             Bug #: 14808
           Summary: valgrind memcheck shows memory leaks
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: cppljevans at suddenlink.net
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 9810
  --> http://llvm.org/bugs/attachment.cgi?id=9810
memcheck output

'fair' sized leak(20 kbytes) despite -disable-free disabled.

As reported here:

http://clang-developers.42468.n3.nabble.com/valgrind-memcheck-shows-leaks-in-svn-clang-compile-of-simplest-c-program-tc4029251.html

There's a fair sized leak despite -disable-free *not* being in options.

The .cpp file and memcheck output are attached.
The command used (.sh extension) is also attached.

uname is:

uname -a
Linux evansl-desktop 2.6.32-41-generic #90-Ubuntu SMP Tue May 22 11:29:51 UTC
2012 x86_64 GNU/Linu

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list