[LLVMbugs] [Bug 3183] New: Possible memory leak in OwningArrayPtr::reset

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Dec 8 06:43:05 PST 2008


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

           Summary: Possible memory leak in OwningArrayPtr::reset
           Product: libraries
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core LLVM classes
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: piotr.rak at gmail.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=2280)
 --> (http://llvm.org/bugs/attachment.cgi?id=2280)
Patch with fix.

OwningArrayPtr<>::reset uses operator delete instead of operator delete[]. It
doesn't cause any real bug now, becouse it looks it is not used anywhere in
code.


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