summaryrefslogtreecommitdiffstats
path: root/src/modem.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modem.c')
-rw-r--r--src/modem.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modem.c b/src/modem.c
index dc4b5838..88ab4510 100644
--- a/src/modem.c
+++ b/src/modem.c
@@ -234,6 +234,7 @@ void __ofono_atom_unregister(struct ofono_atom *atom)
call_watches(atom, OFONO_ATOM_WATCH_CONDITION_UNREGISTERED);
atom->unregister(atom);
+ atom->unregister = NULL;
}
gboolean __ofono_atom_get_registered(struct ofono_atom *atom)