summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/rfc6234
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2021-06-21 12:13:05 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2021-06-22 20:09:36 +0200
commit0e1da78ad36a0639275b7a0ac8a046f46577452d (patch)
tree7af33aac50fe4ea5d8785f096bcbc47e3be1eec2 /src/3rdparty/rfc6234
parentc42ebd5ba6f1fb861cabdbe44ab10df55b9b3ada (diff)
Fix potential double-free in QSqlCachedResult::cleanup()
If d->sql is non-null, it gets freed; later in the same function, it gets reallocated, unless the query is empty, in which case the now-freed value was still recorded, so that later clean-up might find it and mistakenly think it needs to be freed again. Clear when freeing. Pick-to: 6.2 6.1 Change-Id: I8d37d2ba1fcaa320916eaf30dceaa720bbf62f38 Reviewed-by: Andy Shaw <andy.shaw@qt.io>
Diffstat (limited to 'src/3rdparty/rfc6234')
0 files changed, 0 insertions, 0 deletions