[Spice-devel] [PATCH 23/23] server/red_worker: use red_channel_destroy
Marc-André Lureau
marcandre.lureau at gmail.com
Mon Feb 14 05:04:35 PST 2011
Please merge with the following patch serie PATCH 01/26, as I hit the
crash with this patch. The fix should be in the same patch, imho.
cheers
On Sat, Feb 12, 2011 at 8:55 PM, Marc-André Lureau
<marcandre.lureau at gmail.com> wrote:
> 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
>
--
Marc-André Lureau
More information about the Spice-devel
mailing list