diff options
| author | Mårten Nordheim <marten.nordheim@qt.io> | 2021-02-17 09:54:48 +0100 |
|---|---|---|
| committer | Mårten Nordheim <marten.nordheim@qt.io> | 2021-02-18 12:27:50 +0000 |
| commit | c98e92b8ca7fd295482ee99f095c220b6f389169 (patch) | |
| tree | ac71e0e9b56a1a8b5a74a5d8af88b4354bfe0bde /src/sql/doc/snippets/sqldatabase/sqldatabase.cpp | |
| parent | 15572f9efeb1b7dd609b55f8981eb5b5dc3d3db9 (diff) | |
QNetworkInformation: Revise locking during creation
Potential issue caught by the Mårten static analyzer.
In case another thread somehow ended up creating and returning
an instance while another was waiting to relock it would deallocate
the previous instance, which could lead to some bad situations.
Pick-to: 6.1
Change-Id: I6e1843f8a483b2c3e0540e998c383e41f59c8655
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/sql/doc/snippets/sqldatabase/sqldatabase.cpp')
0 files changed, 0 insertions, 0 deletions
