DescriptionFix a memory leak in ResourceDispatcher
When we delete a ResourceLoaderBridge before OnCompletedRequest is received, bad things happen. There's a lot of leaks at the following points:
1. OnMessageReceived ignores the message.
2. RemovePendingRequest removes it's internal deferred_message_queue.
But ViewHostMsg_Resource_DataReceived is not POD. We should also close the shared memory handle inside it.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=16297
Patch Set 1 #Patch Set 2 : '' #Patch Set 3 : '' #
Total comments: 3
Patch Set 4 : '' #
Total comments: 2
Patch Set 5 : '' #Patch Set 6 : '' #Patch Set 7 : '' #Patch Set 8 : '' #
Messages
Total messages: 8 (0 generated)
|