From 397699c9c52ab1449822939ac2906ea58e77924d Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Fri, 21 Jun 2019 12:22:48 -0500 Subject: [PATCH] manager: Fix memory leak --- src/manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/manager.c b/src/manager.c index 5281b337..cb82dc18 100644 --- a/src/manager.c +++ b/src/manager.c @@ -733,7 +733,7 @@ void manager_exit(void) l_strfreev(whitelist_filter); l_strfreev(blacklist_filter); - l_queue_destroy(pending_wiphys, NULL); + l_queue_destroy(pending_wiphys, wiphy_setup_state_free); pending_wiphys = NULL; nl80211 = NULL;