diff options
author | Thomas Haller <thaller@redhat.com> | 2018-09-13 16:20:17 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2018-09-13 16:30:33 +0200 |
commit | 89491ed323cc89940548c244afcd57c7bc92131b (patch) | |
tree | 452bc5db9f031163e62a8e8162f12cd2b155f687 | |
parent | 091ca562f2c3370defcd574ed380e693eecd7993 (diff) |
wifi: fix leaking fake AP in NMDeviceWifi's act_stage1_prepare()nm-1-8
Fixes: 96f40dcdcd8b2df204d64026f0315ff6370048fa
(cherry picked from commit ef61d7909f594c4f3ec145d141387956a6d9c73e)
(cherry picked from commit d08530ac4b3007f0b681388a8e7f3fc3d773ac09)
(cherry picked from commit 6c4c12c796aa14dfad074933deb1e969179f2477)
(cherry picked from commit 4a345b2e783bd4b88cf364e3178c105006b25c47)
-rw-r--r-- | src/devices/wifi/nm-device-wifi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/devices/wifi/nm-device-wifi.c b/src/devices/wifi/nm-device-wifi.c index 20692ed9e..aafc75182 100644 --- a/src/devices/wifi/nm-device-wifi.c +++ b/src/devices/wifi/nm-device-wifi.c @@ -2494,6 +2494,7 @@ act_stage1_prepare (NMDevice *device, NMDeviceStateReason *out_failure_reason) set_current_ap (self, ap, FALSE); nm_active_connection_set_specific_object (NM_ACTIVE_CONNECTION (req), nm_exported_object_get_path (NM_EXPORTED_OBJECT (ap))); + g_object_unref (ap); return NM_ACT_STAGE_RETURN_SUCCESS; done: |