WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
160232
Memory leak in WebResourceLoadScheduler
https://bugs.webkit.org/show_bug.cgi?id=160232
Summary
Memory leak in WebResourceLoadScheduler
ank82del
Reported
2016-07-26 22:23:37 PDT
The new HostInformation is being created in the constructor WebResourceLoadScheduler::WebResourceLoadScheduler it should be deleted inside WebResourceLoadScheduler::~WebResourceLoadScheduler(). WebResourceLoadScheduler::WebResourceLoadScheduler() : m_nonHTTPProtocolHost(new HostInformation(String(), maxRequestsInFlightForNonHTTPProtocols)) , m_requestTimer(*this, &WebResourceLoadScheduler::requestTimerFired) , m_suspendPendingRequestsCount(0) , m_isSerialLoadingEnabled(false) { maxRequestsInFlightPerHost = initializeMaximumHTTPConnectionCountPerHost(); } WebResourceLoadScheduler::~WebResourceLoadScheduler() { }
Attachments
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2016-07-27 19:31:46 PDT
There is no code path where this object would leak. WebResourceLoadScheduler itself is never deleted, so its data members do not need to be deleted either.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug