Re: [PATCH spice-gtk 09/13] migration: remove unnecessary reference

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey, this one can be squashed in patch 04/13

Christophe

On Sun, Nov 09, 2014 at 05:31:41PM +0100, Marc-André Lureau wrote:
> ---
>  gtk/channel-main.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/gtk/channel-main.c b/gtk/channel-main.c
> index 2b88391..826b10b 100644
> --- a/gtk/channel-main.c
> +++ b/gtk/channel-main.c
> @@ -2163,7 +2163,7 @@ static void main_migrate_connect(SpiceChannel *channel,
>      mig.session = spice_session_new_from_session(session);
>      if (mig.session == NULL)
>          goto end;
> -    session->priv->migration = g_object_ref(mig.session);
> +    session->priv->migration = mig.session;
>  
>      main_priv->migrate_data = &mig;
>  
> @@ -2187,7 +2187,6 @@ static void main_migrate_connect(SpiceChannel *channel,
>          spice_session_set_migration(spice_channel_get_session(channel),
>                                      mig.do_seamless);
>      }
> -    g_object_unref(mig.session);
>  
>  end:
>      CHANNEL_DEBUG(channel, "migrate connect reply %d", reply_type);
> -- 
> 1.9.3
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/spice-devel

Attachment: pgpT6ad6V8Xz1.pgp
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]