diff options
author | Robert Griebl <robert.griebl@qt.io> | 2021-08-19 16:42:41 +0200 |
---|---|---|
committer | Pasi Petäjäjärvi <pasi.petajajarvi@qt.io> | 2021-12-03 14:34:16 +0200 |
commit | b80655d9ec266155e3719d91c17ed69e81a3a103 (patch) | |
tree | 0a20e3ffb46d1b1f3f27a0c9697eebf4ff4ca0dc /src/doc/src/devices | |
parent | c3888262bfbc9f21614cee21976d4d9522547785 (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
Pick-to: 5.15 6.2
Change-Id: I0a217b1bd334073cc6621397ad09ce6a98776ab1
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
Diffstat (limited to 'src/doc/src/devices')
0 files changed, 0 insertions, 0 deletions