mirror of git://git.sysmocom.de/ofono
atmodem: Forgot to reset sms data on remove
This commit is contained in:
parent
ba657bd9ce
commit
8f949a6d8c
|
@ -1242,6 +1242,8 @@ static void at_sms_remove(struct ofono_sms *sms)
|
||||||
|
|
||||||
g_at_chat_unref(data->chat);
|
g_at_chat_unref(data->chat);
|
||||||
g_free(data);
|
g_free(data);
|
||||||
|
|
||||||
|
ofono_sms_set_data(sms, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct ofono_sms_driver driver = {
|
static struct ofono_sms_driver driver = {
|
||||||
|
|
Loading…
Reference in New Issue