[LLVMbugs] [Bug 2881] New: Small leak in PluginLoader.cpp.

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Oct 10 15:53:36 PDT 2008


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

           Summary: Small leak in PluginLoader.cpp.
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: jlerouge at apple.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=2077)
 --> (http://llvm.org/bugs/attachment.cgi?id=2077)
Fix a leak in PluginLoader.cpp

Valgrind is showing a small leak in the PluginLoader: a static pointer is used
to store the allocated list of plugins, but is never freed. The patch below
fixes that leak by using ManagedStatic.


-- 
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