[Webkit-unassigned] [Bug 146242] WinLauncher fails to download files.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 23 14:33:12 PDT 2015


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

--- Comment #8 from peavo at outlook.com ---
(In reply to comment #7)
> Comment on attachment 255425 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=255425&action=review
> 
> > Tools/WinLauncher/WinMain.cpp:139
> > +    hr = gWinLauncher->setDownloadDelegate(new WebDownloadDelegate());
> 
> This is still a memory leak.

I might be mistaken, but since the download delegate object is constructed with refcount 0, and the smart pointer takes ownership here, will it not be destroyed?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150623/50b5bba6/attachment.html>


More information about the webkit-unassigned mailing list