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:23:36 +0200 |
commit | ef61d7909f594c4f3ec145d141387956a6d9c73e (patch) | |
tree | 2b8fe3c79e359b96f66a5fe1d6ee98b0dd9a97b8 | |
parent | 54e1f73e0ca2ad87e14f4eacfe532eb444959ba6 (diff) | |
download | NetworkManager-ef61d7909f594c4f3ec145d141387956a6d9c73e.tar.gz |
wifi: fix leaking fake AP in NMDeviceWifi's act_stage1_prepare()
Fixes: 96f40dcdcd8b2df204d64026f0315ff6370048fa
-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 64ab82cb0c..ec1150bb3c 100644 --- a/src/devices/wifi/nm-device-wifi.c +++ b/src/devices/wifi/nm-device-wifi.c @@ -2593,6 +2593,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_dbus_object_get_path (NM_DBUS_OBJECT (ap))); + g_object_unref (ap); return NM_ACT_STAGE_RETURN_SUCCESS; done: |