summaryrefslogtreecommitdiffstats
path: root/drivers/atmodem/sim-auth.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/atmodem/sim-auth.c')
-rw-r--r--drivers/atmodem/sim-auth.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/atmodem/sim-auth.c b/drivers/atmodem/sim-auth.c
index 9ce810f6..271ceed2 100644
--- a/drivers/atmodem/sim-auth.c
+++ b/drivers/atmodem/sim-auth.c
@@ -139,6 +139,7 @@ static void at_sim_auth_remove(struct ofono_sim_auth *sa)
{
struct sim_auth_data *sad = ofono_sim_auth_get_data(sa);
+ g_idle_remove_by_data(sa);
ofono_sim_auth_set_data(sa, NULL);
g_at_chat_unref(sad->chat);