[virglrenderer-devel] [PATCH v2] renderer: fix memory leak in vertext elements state create

Dave Airlie airlied at gmail.com
Tue Feb 28 04:57:05 UTC 2017


On 25 February 2017 at 21:10, Li Qiang <liq3ea at gmail.com> wrote:
> From: Li Qiang <liq3ea at gmail.com>
>
> Free the vertex array in error path.
> This was introduced by this commit:
> renderer: fix heap overflow in vertex elements state create.

Hi Li,

I've pulled these two in, I think I've gotten all your patches in the tree now.

I rewrote this one slightly to make it not bother doing the allocation
if the error occurs.

Please check virglrenderer master branch to see if anything is left or
incorrect.

Dave.


More information about the virglrenderer-devel mailing list