Re: [PATCH] drm/vmwgfx: prevent memory leak in vmw_cmdbuf_res_add

2019-12-11 Thread Thomas Hellstrom
On 9/25/19 6:38 AM, Navid Emamdoost wrote: > In vmw_cmdbuf_res_add if drm_ht_insert_item fails the allocated memory > for cres should be released. > > Signed-off-by: Navid Emamdoost > --- > drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > d

Re: [PATCH] drm/vmwgfx: prevent memory leak in vmw_cmdbuf_res_add

2019-12-11 Thread Navid Emamdoost
ping ... On Thu, Nov 21, 2019 at 12:17 PM Navid Emamdoost wrote: > > On Tue, Sep 24, 2019 at 11:38 PM Navid Emamdoost > wrote: > > > > In vmw_cmdbuf_res_add if drm_ht_insert_item fails the allocated memory > > for cres should be released. > > > > Signed-off-by: Navid Emamdoost > > Would you ple

Re: [PATCH] drm/vmwgfx: prevent memory leak in vmw_cmdbuf_res_add

2019-11-22 Thread Navid Emamdoost
On Tue, Sep 24, 2019 at 11:38 PM Navid Emamdoost wrote: > > In vmw_cmdbuf_res_add if drm_ht_insert_item fails the allocated memory > for cres should be released. > > Signed-off-by: Navid Emamdoost Would you please review this patch? Thanks, > --- > drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c |

[PATCH] drm/vmwgfx: prevent memory leak in vmw_cmdbuf_res_add

2019-09-24 Thread Navid Emamdoost
In vmw_cmdbuf_res_add if drm_ht_insert_item fails the allocated memory for cres should be released. Signed-off-by: Navid Emamdoost --- drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c b/d