mirror of git://git.sysmocom.de/ofono
hfp_ag: Be extra pedantic on plugin cleanup
This commit is contained in:
parent
888218680d
commit
c9250abdcf
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue