path: root/tests
diff options
authorRobert Griebl <>2021-08-19 16:42:41 +0200
committerPasi Petäjäjärvi <>2021-12-03 15:42:10 +0200
commit5dfaab214d29133bbb2f7e23726f2ef8cd8e8e08 (patch)
tree9183b32ed34259f8eb356a2e3242fc6daaff8e1e /tests
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 <> (cherry picked from commit b80655d9ec266155e3719d91c17ed69e81a3a103) Reviewed-by: Janne Juntunen <> Reviewed-by: Samuli Piippo <>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions