https://bugs.webkit.org/show_bug.cgi?id=144327
Reviewed by Brent Fulgham.
When a data url is loaded, the ResourceHandle is not released.
* platform/network/curl/ResourceHandleManager.cpp:
(WebCore::ResourceHandleManager::startJob):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@183485
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2015-04-28 Per Arne Vollan <peavo@outlook.com>
+
+ [Curl] Memory leak.
+ https://bugs.webkit.org/show_bug.cgi?id=144327
+
+ Reviewed by Brent Fulgham.
+
+ When a data url is loaded, the ResourceHandle is not released.
+
+ * platform/network/curl/ResourceHandleManager.cpp:
+ (WebCore::ResourceHandleManager::startJob):
+
2015-04-28 Andy Estes <aestes@apple.com>
Fix the Mavericks Debug build after r183467.
void ResourceHandleManager::startJob(ResourceHandle* job)
{
- URL kurl = job->firstRequest().url();
+ URL url = job->firstRequest().url();
- if (kurl.protocolIsData()) {
+ if (url.protocolIsData()) {
handleDataURL(job);
+ job->deref();
return;
}