summaryrefslogtreecommitdiffstats
path: root/src/call-forwarding.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/call-forwarding.c')
-rw-r--r--src/call-forwarding.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/call-forwarding.c b/src/call-forwarding.c
index 3bf776d5..39e968b5 100644
--- a/src/call-forwarding.c
+++ b/src/call-forwarding.c
@@ -1197,7 +1197,7 @@ void ofono_call_forwarding_register(struct ofono_call_forwarding *cf)
void ofono_call_forwarding_remove(struct ofono_call_forwarding *cf)
{
- __ofono_modem_remove_atom(cf->modem, cf->atom);
+ __ofono_atom_free(cf->atom);
}
void ofono_call_forwarding_set_data(struct ofono_call_forwarding *cf, void *data)