[PATCH] broadband-modem-qmi: fix memory leak in dms_set_operating_mode_ready
Ben Chan
benchan at chromium.org
Sat Apr 28 18:51:28 UTC 2018
---
src/mm-broadband-modem-qmi.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/mm-broadband-modem-qmi.c b/src/mm-broadband-modem-qmi.c
index d87c39aa..898906c8 100644
--- a/src/mm-broadband-modem-qmi.c
+++ b/src/mm-broadband-modem-qmi.c
@@ -3140,6 +3140,8 @@ dms_set_operating_mode_ready (QmiClientDms *client,
return;
}
+ qmi_message_dms_set_operating_mode_output_unref (output);
+
/* Good! we're done, go to last step */
ctx->step = SET_OPERATING_MODE_STEP_LAST;
set_operating_mode_context_step (ctx);
--
2.17.0.441.gb46fe60e1d-goog
More information about the ModemManager-devel
mailing list