Update to use the new atom_free API

This commit is contained in:
Denis Kenzior 2009-08-14 15:39:30 -05:00
parent 6119c08c28
commit 9ad3ad6664
5 changed files with 5 additions and 5 deletions

View File

@ -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)

View File

@ -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)

View File

@ -773,7 +773,7 @@ void ofono_call_meter_register(struct ofono_call_meter *cm)
void ofono_call_meter_remove(struct ofono_call_meter *cm)
{
__ofono_modem_remove_atom(cm->modem, cm->atom);
__ofono_atom_free(cm->atom);
}
void ofono_call_meter_set_data(struct ofono_call_meter *cm, void *data)

View File

@ -1262,7 +1262,7 @@ void ofono_call_settings_register(struct ofono_call_settings *cs)
void ofono_call_settings_remove(struct ofono_call_settings *cs)
{
__ofono_modem_remove_atom(cs->modem, cs->atom);
__ofono_atom_free(cs->atom);
}
void ofono_call_settings_set_data(struct ofono_call_settings *cs, void *data)

View File

@ -596,7 +596,7 @@ void ofono_phonebook_register(struct ofono_phonebook *pb)
void ofono_phonebook_remove(struct ofono_phonebook *pb)
{
__ofono_modem_remove_atom(pb->modem, pb->atom);
__ofono_atom_free(pb->atom);
}
void ofono_phonebook_set_data(struct ofono_phonebook *pb, void *data)