[Webkit-unassigned] [Bug 19287] return value of malloc() is not checked in npruntime.cpp

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 15 07:07:00 PST 2008


------- Comment #10 from darin at apple.com  2008-12-15 07:07 PDT -------
(In reply to comment #8)
> That NPN_MemAlloc comment in NP_jsobject.cpp is long-obsolete. That comment was
> written back when this code was in JavaScriptCore and NPN_MemAlloc was in
> WebKit. But now both the code and the NPN_MemAlloc function are in WebCore. So
> that issues is not an obstacle to using fastMalloc and fastFree here.

I was wrong about that. The NPN_MemAlloc that is in WebCore is for non-Mac
platforms. It's still true on the Mac.

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