[Spice-devel] [PATCH 23/23] server/red_worker: use red_channel_destroy

Marc-André Lureau marcandre.lureau at gmail.com
Sat Feb 12 11:55:47 PST 2011


ack

On Fri, Feb 11, 2011 at 6:23 PM, Alon Levy <alevy at redhat.com> wrote:
> ---
>  server/red_worker.c |    3 +--
>  1 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git a/server/red_worker.c b/server/red_worker.c
> index 1659af0..57a4cc7 100644
> --- a/server/red_worker.c
> +++ b/server/red_worker.c
> @@ -7265,8 +7265,7 @@ static inline void red_unref_channel(RedChannel *channel)
>     ASSERT(channel);
>     common = SPICE_CONTAINEROF(channel, CommonChannel, base);
>     if (!--common->listener.refs) {
> -        spice_marshaller_destroy(channel->send_data.marshaller);
> -        free(channel);
> +        red_channel_destroy(channel);
>     }
>  }
>
> --
> 1.7.4
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
>



-- 
Marc-André Lureau


More information about the Spice-devel mailing list