atmodem: Forgot to reset sms data on remove

This commit is contained in:
Denis Kenzior 2010-11-27 11:57:50 -06:00
parent ba657bd9ce
commit 8f949a6d8c
1 changed files with 2 additions and 0 deletions

View File

@ -1242,6 +1242,8 @@ static void at_sms_remove(struct ofono_sms *sms)
g_at_chat_unref(data->chat);
g_free(data);
ofono_sms_set_data(sms, NULL);
}
static struct ofono_sms_driver driver = {