---
 drivers/qmimodem/radio-settings.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/qmimodem/radio-settings.c 
b/drivers/qmimodem/radio-settings.c
index aa8e0d5c..36ad25cf 100644
--- a/drivers/qmimodem/radio-settings.c
+++ b/drivers/qmimodem/radio-settings.c
@@ -277,6 +277,9 @@ static void qmi_radio_settings_remove(struct 
ofono_radio_settings *rs)
 
        ofono_radio_settings_set_data(rs, NULL);
 
+       qmi_service_unregister_all(data->dms);
+       qmi_service_unref(data->dms);
+
        qmi_service_unregister_all(data->nas);
 
        qmi_service_unref(data->nas);
-- 
2.14.1

_______________________________________________
ofono mailing list
ofono@ofono.org
https://lists.ofono.org/mailman/listinfo/ofono

Reply via email to