From c9250abdcffb618ba77101933be1b79c761b3702 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Tue, 19 Apr 2011 16:49:33 -0500 Subject: [PATCH] hfp_ag: Be extra pedantic on plugin cleanup --- plugins/hfp_ag.c | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/hfp_ag.c b/plugins/hfp_ag.c index f6f87189..17751ad2 100644 --- a/plugins/hfp_ag.c +++ b/plugins/hfp_ag.c @@ -165,6 +165,7 @@ static int hfp_ag_init() static void hfp_ag_exit() { __ofono_modemwatch_remove(modemwatch_id); + g_list_free(modems); if (server) { bluetooth_unregister_server(server);