[PATCH] libmm-glib, modem: fix object unref in list_bearers_context_complete_and_free

Aleksander Morgado aleksander at aleksander.es
Fri Jun 23 08:24:33 UTC 2017


On Fri, Jun 23, 2017 at 9:04 AM, Ben Chan <benchan at chromium.org> wrote:
> ---
>  libmm-glib/mm-modem.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>

Pushed to git master, mm-1-6, mm-1-4 and mm-1-2, thanks!

> diff --git a/libmm-glib/mm-modem.c b/libmm-glib/mm-modem.c
> index 25e042d0..6a29853e 100644
> --- a/libmm-glib/mm-modem.c
> +++ b/libmm-glib/mm-modem.c
> @@ -1776,7 +1776,7 @@ list_bearers_context_complete_and_free (ListBearersContext *ctx)
>      g_object_unref (ctx->result);
>      if (ctx->cancellable)
>          g_object_unref (ctx->cancellable);
> -    g_object_ref (ctx->self);
> +    g_object_unref (ctx->self);
>      g_slice_free (ListBearersContext, ctx);
>  }
>
> --
> 2.13.1.611.g7e3b11ae1-goog
>



-- 
Aleksander
https://aleksander.es


More information about the ModemManager-devel mailing list