summaryrefslogtreecommitdiff
path: root/Source/WTF
diff options
context:
space:
mode:
authorKonstantin Tokarev <annulen@yandex.ru>2017-06-01 15:54:01 +0300
committerKonstantin Tokarev <annulen@yandex.ru>2017-06-02 14:07:43 +0000
commit0a3506ebe5d7f431f0dd4dffa24ac32063b90ff1 (patch)
treef3d0b92fe7bc5b31426a838c354616fff335e82b /Source/WTF
parent881da28418d380042aa95a97f0cbd42560a64f7c (diff)
downloadqtwebkit-0a3506ebe5d7f431f0dd4dffa24ac32063b90ff1.tar.gz
Import WebKit commit 3ca7a25a550e473d60bbbe321475c6c0ef114b31
Change-Id: I480668a0cb8114dccf7a1195190a993282875759 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'Source/WTF')
-rw-r--r--Source/WTF/wtf/win/WorkQueueWin.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/WTF/wtf/win/WorkQueueWin.cpp b/Source/WTF/wtf/win/WorkQueueWin.cpp
index 6e61cde69..2b7074a9a 100644
--- a/Source/WTF/wtf/win/WorkQueueWin.cpp
+++ b/Source/WTF/wtf/win/WorkQueueWin.cpp
@@ -84,7 +84,8 @@ void WorkQueue::performWorkOnRegisteredWorkThread()
m_workItemQueueLock.unlock();
for (auto& workItem : workItemQueue) {
workItem->function()();
- deref();
+ // QTFIMXE: Fix reference leak https://bugs.webkit.org/show_bug.cgi?id=142471
+ //deref();
}
m_workItemQueueLock.lock();
}