[Webkit-unassigned] [Bug 26792] New: Override operator new/delete with const std::nothrow_t& as the second argument

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 29 02:12:09 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=26792

           Summary: Override operator new/delete with const std::nothrow_t&
                    as the second argument
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Other
        OS/Version: Other
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: kwangyul.seo at gmail.com


On Windows CE, operator new/delete, new[]/delete[] with const std::nothrow_t&
must be overrided because some standard template libraries use these operators.

void *__cdecl operator new(
   size_t count, 
   const std::nothrow_t&
) throw();


The problem occurs when memory allocated by new(size_t s, const
std::nothrow_t&) is freed by delete(void* p). This causes the umatched
malloc/free.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list