commit cc2d4f97e28c82c7727787640e300ccf69dee721 parent 2d8d47c9ddc52ca79e73ab5e8b87a07768594e03 Author: Denis Kenzior <denkenz@gmail.com> Date: Fri, 11 Oct 2019 15:41:16 -0500 manager: Make sure pending_wiphys remains NULL on error Diffstat:
| M | src/manager.c | | | 2 | ++ |
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/manager.c b/src/manager.c @@ -643,6 +643,8 @@ static int manager_init(void) error: l_queue_destroy(pending_wiphys, NULL); + pending_wiphys = NULL; + l_genl_family_free(nl80211); nl80211 = NULL;