summaryrefslogtreecommitdiffstats
path: root/src/core/resources
diff options
context:
space:
mode:
authorSean Harmer <sean.harmer@kdab.com>2016-02-14 18:22:42 +0000
committerSean Harmer <sean.harmer@kdab.com>2016-02-19 16:54:16 +0000
commit0ebd3f5b1e137554fd90469bb483b87709402bdb (patch)
tree10a9c133b3eb7e51211192b45cbd111fadeb1090 /src/core/resources
parent6e47a632f782fa9fd6971631aa854d91aac292e7 (diff)
Fix copy and paste error in allocator
Change-Id: If006edd357dc6963c9e0240440fb07c67e7ac461 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/core/resources')
-rw-r--r--src/core/resources/qframeallocator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/resources/qframeallocator.cpp b/src/core/resources/qframeallocator.cpp
index 5e0e147b6..47dc9e315 100644
--- a/src/core/resources/qframeallocator.cpp
+++ b/src/core/resources/qframeallocator.cpp
@@ -194,7 +194,7 @@ void QFixedFrameAllocator::trim()
if (m_lastAllocatedChunck == &m_chunks[i])
m_lastAllocatedChunck = Q_NULLPTR;
if (m_lastFreedChunck == &m_chunks[i])
- m_lastAllocatedChunck = Q_NULLPTR;
+ m_lastFreedChunck = Q_NULLPTR;
m_chunks.removeAt(i);
}
}