summaryrefslogtreecommitdiffstats
path: root/header.COMM
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2016-06-09 14:42:31 -0700
committerThiago Macieira <thiago.macieira@intel.com>2016-09-07 14:35:58 +0000
commit39a2eed039f8cb335f72caaf3b35d5e6832c2c5b (patch)
tree58dfd7dae8f4f36e8ed93f731c10c03ee826620e /header.COMM
parent42f974f56b18e365c3343545a9491452683fed30 (diff)
QByteArray: Clean up qUncompress
qUncompress has code to deal with OOM situations without crashing. This code is highly convoluted. It achieves that by realloc()ing QByteArray's buffer. Instead, let's operate on QByteArray::Data and use RAII to manage the lifetime of the buffer. Change-Id: I1cc7601489634e96833cfffd145688433b76f447 Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'header.COMM')
0 files changed, 0 insertions, 0 deletions