summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qbytearray.cpp
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@digia.com>2014-09-19 16:11:51 +0200
committerMarc Mutz <marc.mutz@kdab.com>2014-10-17 10:00:42 +0200
commit9eb2b25300c21df2abd9b174c1077a377a42fcd1 (patch)
tree0b9a0cdb402293d514ae447974809786521b9210 /src/corelib/tools/qbytearray.cpp
parent9d44645eae144fcfefa0de2455d41f04d29c40d4 (diff)
Don't dereference pointers on QArrayData deallocation
If the allocation fails the pointer will be 0. That is OK for free(), but we shouldn't try to check for static data then. Change-Id: I0a8860c9e04833e3be79f7a8a39bdaffeb488f35 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/corelib/tools/qbytearray.cpp')
0 files changed, 0 insertions, 0 deletions