Re: [Spice-devel] [PATCH 02/11] Do not leak memory if qxl_release_list_add fails

From: Dave Airlie
Date: Wed May 27 2015 - 23:09:42 EST


On 27 May 2015 at 20:03, Frediano Ziglio <fziglio@xxxxxxxxxx> wrote:
> If the function fails reference counter to the object is not decremented
> causing leaks.
> This is hard to spot as it happens only on very low memory situations.
>
> Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx>

Looks good,

Reviewed-by: Dave Airlie <airlied@xxxxxxxxxx>

Dave.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/