[PATCH] broadband-modem-qmi: fix memory leak in dms_set_operating_mode_ready
Aleksander Morgado
aleksander at aleksander.es
Mon Apr 30 07:46:00 UTC 2018
On 28/04/18 20:51, Ben Chan wrote:
> ---
> src/mm-broadband-modem-qmi.c | 2 ++
> 1 file changed, 2 insertions(+)
>
Pushed to git master, thanks.
> 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);
>
--
Aleksander
https://aleksander.es
More information about the ModemManager-devel
mailing list