mirror of git://git.sysmocom.de/ofono
nokia: Fix stale control channel after hot-unplug
This commit is contained in:
parent
ffa66e919a
commit
1b804183a8
|
@ -75,6 +75,9 @@ static void nokia_remove(struct ofono_modem *modem)
|
|||
|
||||
ofono_modem_set_data(modem, NULL);
|
||||
|
||||
/* Cleanup after hot-unplug */
|
||||
g_at_chat_unref(data->control);
|
||||
|
||||
g_free(data);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue