[Spice-devel] [PATCH 04/11] Avoid double free on error

Dave Airlie airlied at gmail.com
Wed May 27 20:11:45 PDT 2015


On 27 May 2015 at 20:03, Frediano Ziglio <fziglio at redhat.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 at redhat.com>

Reviewed-by: Dave Airlie <airlied at redhat.com>


More information about the Spice-devel mailing list