summaryrefslogtreecommitdiffstats
path: root/src/call-barring.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/call-barring.c')
-rw-r--r--src/call-barring.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/call-barring.c b/src/call-barring.c
index c67077c7..525d8fd4 100644
--- a/src/call-barring.c
+++ b/src/call-barring.c
@@ -1161,7 +1161,7 @@ void ofono_call_barring_register(struct ofono_call_barring *cb)
void ofono_call_barring_remove(struct ofono_call_barring *cb)
{
- __ofono_modem_remove_atom(cb->modem, cb->atom);
+ __ofono_atom_free(cb->atom);
}
void ofono_call_barring_set_data(struct ofono_call_barring *cb, void *data)