summaryrefslogtreecommitdiffstats
path: root/qtdeviceutilities.pro
diff options
context:
space:
mode:
authorRobert Griebl <robert.griebl@qt.io>2021-08-19 16:42:41 +0200
committerPasi Petäjäjärvi <pasi.petajajarvi@qt.io>2021-12-03 15:42:10 +0200
commit5dfaab214d29133bbb2f7e23726f2ef8cd8e8e08 (patch)
tree9183b32ed34259f8eb356a2e3242fc6daaff8e1e /qtdeviceutilities.pro
parent5b82e73eb74061c403521c8c75aa11754faad5a2 (diff)
Do not leak QNetworkSettingsService instances for unnamed networks
For unnamed/hidden networks, a QNetworkSettingsService object was allocated every time connman reported these networks via its ServicesChanged signal. Depending on the system setup, this could happen as often as every 30sec. We now track these objects in m_unnamedServices and m_unknownServices to avoid those re-allocations. Also fixed a potential dangling pointer being returned from current{Wifi,Wired}Connection() Fixes: QTBUG-94864 Change-Id: I0a217b1bd334073cc6621397ad09ce6a98776ab1 Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io> (cherry picked from commit b80655d9ec266155e3719d91c17ed69e81a3a103) Reviewed-by: Janne Juntunen <janne.juntunen@qt.io> Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
Diffstat (limited to 'qtdeviceutilities.pro')
0 files changed, 0 insertions, 0 deletions