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

diff --git a/drivers/qmimodem/gprs.c b/drivers/qmimodem/gprs.c
index b379b026..db07f310 100644
--- a/drivers/qmimodem/gprs.c
+++ b/drivers/qmimodem/gprs.c
@@ -398,6 +398,9 @@ static void qmi_gprs_remove(struct ofono_gprs *gprs)
 
        ofono_gprs_set_data(gprs, NULL);
 
+       qmi_service_unregister_all(data->wds);
+       qmi_service_unref(data->wds);
+
        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