diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2010-01-20 13:12:49 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2010-01-20 13:46:35 (GMT) |
commit | 29423dcc76970253fd5bca43d0abba4876b85b85 (patch) | |
tree | 38a46066108309294bd59f1a57dd9bd53237520d /examples/xml | |
parent | baf0f7a203281e3e1184cdfe327fb1dfa6df03ea (diff) | |
download | Qt-29423dcc76970253fd5bca43d0abba4876b85b85.zip Qt-29423dcc76970253fd5bca43d0abba4876b85b85.tar.gz Qt-29423dcc76970253fd5bca43d0abba4876b85b85.tar.bz2 |
Fix crashes in QByteArray
tst_QByteArray is was crashing on linux 64bit.
The memory was freed twice, once by qRealloc, and one by QScopePointer::reset
This patch will leak if qRealloc fails because of OutOfMemory.
But we do not care as it is a corner case.
Reviewed-by: Harald Fernengel
Reviewed-by: Robert Griebl
Diffstat (limited to 'examples/xml')
0 files changed, 0 insertions, 0 deletions