Bug 143068

Summary: [Cocoa] RemoteInspectorXPCConnection::deserializeMessage() leaks a NSDictionary under Objective-C GC
Product: WebKit Reporter: Andy Estes <aestes>
Component: New BugsAssignee: Andy Estes <aestes>
Status: RESOLVED FIXED    
Severity: Normal CC: darin, joepeck, mitz
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch mitz: review+

Andy Estes
Reported 2015-03-25 18:58:37 PDT
[Cocoa] RemoteInspectorXPCConnection::deserializeMessage() leaks a NSDictionary under Objective-C GC
Attachments
Patch (1.73 KB, patch)
2015-03-25 19:00 PDT, Andy Estes
mitz: review+
Andy Estes
Comment 1 2015-03-25 19:00:55 PDT
mitz
Comment 2 2015-03-25 19:34:21 PDT
Comment on attachment 249462 [details] Patch Could you have fixed this by adopting the result of _CFXPCCreate… into a RetainPtr and not having to think about GC here?
Andy Estes
Comment 3 2015-03-25 19:52:05 PDT
(In reply to comment #2) > Comment on attachment 249462 [details] > Patch > > Could you have fixed this by adopting the result of _CFXPCCreate… into a > RetainPtr and not having to think about GC here? Oh, yes! I guess I didn't know / forgot that RetainPtr had an autorelease(). I'll assume that your r+ is still good for doing that instead :) Thanks!
Andy Estes
Comment 4 2015-03-25 20:11:46 PDT
Note You need to log in before you can comment on or make changes to this bug.