summaryrefslogtreecommitdiffstats
path: root/plugins/hfp_ag.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/hfp_ag.c')
-rw-r--r--plugins/hfp_ag.c1
1 files changed, 1 insertions, 0 deletions
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);