Changeset 70776 in webkit
- Timestamp:
- Oct 28, 2010 7:52:05 AM (13 years ago)
- Location:
- trunk/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit2/ChangeLog
r70760 r70776 1 2010-10-28 Balazs Kelemen <kbalazs@webkit.org> 2 3 Reviewed by Andreas Kling. 4 5 [Qt][WK2] SharedMemory should be released by the receiving process 6 https://bugs.webkit.org/show_bug.cgi?id=48520 7 8 * Platform/qt/SharedMemoryQt.cpp: 9 (WebKit::SharedMemory::~SharedMemory): 10 (WebKit::SharedMemory::createHandle): 11 1 12 2010-10-28 Kimmo Kinnunen <kimmo.t.kinnunen@nokia.com> 2 13 -
trunk/WebKit2/Platform/qt/SharedMemoryQt.cpp
r70520 r70776 123 123 SharedMemory::~SharedMemory() 124 124 { 125 if (!m_data) { 126 // Ownership of the mapped memory has been passed. 127 return; 128 } 129 125 130 MappedMemory* mappedMemory = mappedMemoryPool->searchForMappedMemory(reinterpret_cast<uchar*>(m_data)); 126 131 if (mappedMemory) … … 141 146 handle.m_size = m_size; 142 147 148 // Hand off ownership of the mapped memory to the receiving process. 149 m_data = 0; 150 143 151 return true; 144 152 }
Note: See TracChangeset
for help on using the changeset viewer.