summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Chan <benchan@chromium.org>2018-04-28 11:51:28 -0700
committerAleksander Morgado <aleksander@aleksander.es>2018-06-13 12:55:15 +0200
commit3d94213cf86917fb3c7c5c03b7838fbe564a9bb2 (patch)
tree3f6b7256516e0f62b2f8c09fd49d05d1494bf22f
parenta259e6d643446257a4cfe2d47110c9bb520da258 (diff)
downloadModemManager-3d94213cf86917fb3c7c5c03b7838fbe564a9bb2.tar.gz
broadband-modem-qmi: fix memory leak in dms_set_operating_mode_ready
(cherry picked from commit 21c9a239ecc56d941032630649ca6149296bf98d)
-rw-r--r--src/mm-broadband-modem-qmi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mm-broadband-modem-qmi.c b/src/mm-broadband-modem-qmi.c
index 721fce035..38c72e41b 100644
--- a/src/mm-broadband-modem-qmi.c
+++ b/src/mm-broadband-modem-qmi.c
@@ -3091,6 +3091,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);