[Webkit-unassigned] [Bug 136038] Resource leak in object - memory allocated in constructor but not freed in destructor.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 18 22:58:44 PDT 2014


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


Alexey Proskuryakov <ap at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |akling at apple.com,
                   |                            |ap at webkit.org,
                   |                            |beidson at apple.com




--- Comment #3 from Alexey Proskuryakov <ap at webkit.org>  2014-08-18 22:58:51 PST ---
Does the leak occur in practice? It looks like ResourceLoadScheduler object is a singleton, and is never expected to be deleted.

Unless I'm misreading the code, what needs to be fixed is:
1. We should have ASSERT_NOT_REACHED in the destructor.
2. WebResourceLoadScheduler (a subclass of ResourceLoadScheduler) should not have a public constructor.

-- 
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