[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAPM=9tzhEyLRj6PmC0g-88VA92m9A_DOiH-7L+No68GS9oea7w@mail.gmail.com>
Date: Thu, 28 May 2015 13:11:45 +1000
From: Dave Airlie <airlied@...il.com>
To: Frediano Ziglio <fziglio@...hat.com>
Cc: spice-devel <spice-devel@...ts.freedesktop.org>,
Dave Airlie <airlied@...ux.ie>,
dri-devel <dri-devel@...ts.freedesktop.org>,
Dave Airlie <airlied@...hat.com>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [Spice-devel] [PATCH 04/11] Avoid double free on error
On 27 May 2015 at 20:03, Frediano Ziglio <fziglio@...hat.com> wrote:
> Is we are not able to get source bo object from handle we free
> destination bo object and call cleanup code however destination
> object was already inserted in reloc_info array (num_relocs was
> already incremented) so on cleanup we free destination again.
>
> Signed-off-by: Frediano Ziglio <fziglio@...hat.com>
Reviewed-by: Dave Airlie <airlied@...hat.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists