Close wpa when done with the interface.
authorRoy Marples <roy@marples.name>
Tue, 5 May 2015 23:16:50 +0000 (23:16 +0000)
committerRoy Marples <roy@marples.name>
Tue, 5 May 2015 23:16:50 +0000 (23:16 +0000)
src/dhcpcd-qt/dhcpcd-wi.cpp

index fe7f6189fb91b90ad76453f9b763da42bd78173d..13b512968d4d54f440fdbed7315e3015dda3e23c 100644 (file)
@@ -92,6 +92,7 @@ DhcpcdWi::~DhcpcdWi()
        }
 
        dhcpcd_wi_scans_free(scans);
+       dhcpcd_wpa_close(wpa);
 }
 
 DHCPCD_WPA *DhcpcdWi::getWpa()