summaryrefslogtreecommitdiffstats
path: root/plugins/hfp_ag.c
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2011-04-19 16:49:33 -0500
committerDenis Kenzior <denkenz@gmail.com>2011-04-19 16:49:33 -0500
commitc9250abdcffb618ba77101933be1b79c761b3702 (patch)
treeeb2cde5a1bb450e541dc658ddd20a0206a1de665 /plugins/hfp_ag.c
parent888218680d58e124d0f422482e6834188a2c2f07 (diff)
downloadofono-c9250abdcffb618ba77101933be1b79c761b3702.tar.bz2
hfp_ag: Be extra pedantic on plugin cleanup
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);