summaryrefslogtreecommitdiffstats
path: root/mkspecs/win32-g++
diff options
context:
space:
mode:
authorMartin Petersson <Martin.Petersson@nokia.com>2012-06-11 15:35:04 +0200
committerQt by Nokia <qt-info@nokia.com>2012-06-26 11:32:39 +0200
commita9c398096bcb342e7d7b1cec6137b0ee8d05872e (patch)
treeb993d2e94d1db0acfd521913d1c9af00ac292a65 /mkspecs/win32-g++
parent1ce203d05a952f039105d30968daf2eacae66be8 (diff)
QIODevice: free memory when buffer is cleared
The QIODevicePrivateLinearBuffer does not deallocate any data on readAll or clear. This fix will change the buffer so that data is deallocated on clear, readAll and when read emptied the buffer. This is needed for QAbstractSockets that don't have readBufferMaxSize set, as the buffer will grow but never decrease in size when you read from it. Change-Id: Iab42e40182f9ebe0739c99b2d1e820ce287dc931 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'mkspecs/win32-g++')
0 files changed, 0 insertions, 0 deletions