broadband-modem-qmi: fix memory leak in dms_set_operating_mode_ready

This commit is contained in:
Ben Chan
2018-04-28 11:51:28 -07:00
committed by Aleksander Morgado
parent f9a0b945bc
commit 21c9a239ec

View File

@@ -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);