Closed
Bug 679196
Opened 13 years ago
Closed 13 years ago
Mem leak when preferred effect is set for drag and drop
Categories
(Core :: Widget: Win32, defect)
Tracking
()
RESOLVED
FIXED
mozilla9
People
(Reporter: bbondy, Assigned: bbondy)
References
Details
(Keywords: memory-leak, Whiteboard: [MemShrink])
Attachments
(1 file)
(deleted),
patch
|
neil
:
review+
|
Details | Diff | Splinter Review |
Bug 296528 introduced a memory leak with the following code in nsClipboard.cpp:
> nsresult loadResult = nsClipboard::GetNativeDataOffClipboard(
> pIDataSource, 0, ::RegisterClipboardFormat(CFSTR_PREFERREDDROPEFFECT), nsnull, &tempOutData, &tempDataLen);
tempOutData should be freed.
The memory leak is only hit when Windows deicdes to set a preferred effect on the data source, which doesn't happen often.
Windows does set it sometimes when dragging from Windows explorer and always when dragging from an FTP site.
Updated•13 years ago
|
Assignee | ||
Comment 1•13 years ago
|
||
Neil this is the mem leak you noticed, so I'm setting you as the reviewer :)
Attachment #553669 -
Flags: review?(neil)
Updated•13 years ago
|
Attachment #553669 -
Flags: review?(neil) → review+
Assignee | ||
Comment 2•13 years ago
|
||
Comment 3•13 years ago
|
||
Seems like this fell through the cracks! I rebased and landed it on inbound:
http://hg.mozilla.org/integration/mozilla-inbound/rev/3f3380cfd15a
Target Milestone: --- → mozilla9
Assignee | ||
Comment 4•13 years ago
|
||
> Seems like this fell through the cracks!
Nah I'm just behind on pushing my tasks out. I had about 30 ready to go in but didn't have level 3 commit access until about 3 weeks ago. My rate of task creation vs pushing is fixed now so I should eventually get caught up :)
Comment 5•13 years ago
|
||
If you want a hand catching up, there is always checkin-needed :-)
Assignee | ||
Comment 6•13 years ago
|
||
nah mostly I need to run through try and verify things are ok. I'm getting close to caught up already. I try to put about 10 to try per week to get caught up right now. This bug and the related drag and drop series of bugs are next on my list, but all hands in the way :)
Assignee | ||
Comment 7•13 years ago
|
||
> I rebased and landed it on inbound
Thanks by the way :)
Comment 8•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•