diff options
author | Alex Trotsenko <alex1973tr@gmail.com> | 2016-01-20 14:03:24 +0200 |
---|---|---|
committer | Alex Trotsenko <alex1973tr@gmail.com> | 2016-01-26 14:44:46 +0000 |
commit | 371376409909e37b192ad4691c18d5e3b2e0bca4 (patch) | |
tree | 1bb89c2e5a087954122262a58057ca9228f1233b /header.LGPL-ONLY | |
parent | 1272bd4d4a43ba495e2b89835597d2fc93249c4e (diff) |
QAbstractSocket: do not use internal buffer for discarding the data
Instead, allocate a temporary buffer on the stack. This prevents the
internal read buffer from being allocated if the device is opened only
for writing.
Change-Id: Ib91c58299206e92006589807527e7b71a5555c8f
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
Diffstat (limited to 'header.LGPL-ONLY')
0 files changed, 0 insertions, 0 deletions