[Webkit-unassigned] [Bug 30419] New: NPN_UserAgent leaks an NSString

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 15 17:55:37 PDT 2009


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

           Summary: NPN_UserAgent leaks an NSString
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: dwebb at google.com


Each call to NPN_UserAgent leaks an NSString object on the Mac.

How I discovered the bug:  I was calling NPN_UserAgent in NPP_HandleEvent, and
I noticed a slow leak.  I opened ObjectAlloc.tracetemplate and did a trace of
Safari, and it showed a leak of an object of roughly 170 bytes happening at
nearly 60 times per second, and the stack trace showed the leak coming from
NPN_UserAgent.

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



More information about the webkit-unassigned mailing list