Re: [PATCH xf86-video-amdgpu] Free previous xf86CrtcRec gamma LUT memory

2018-07-19 Thread Alex Deucher
On Thu, Jul 19, 2018 at 5:37 AM, Michel Dänzer wrote: > From: Michel Dänzer > > We were leaking it. > > Also, don't bother allocating new memory if it's already the expected > size. > > Signed-off-by: Michel Dänzer Reviewed-by: Alex Deucher > --- > src/drmmode_display.c | 7 ++- > 1

[PATCH xf86-video-amdgpu] Free previous xf86CrtcRec gamma LUT memory

2018-07-19 Thread Michel Dänzer
From: Michel Dänzer We were leaking it. Also, don't bother allocating new memory if it's already the expected size. Signed-off-by: Michel Dänzer --- src/drmmode_display.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/drmmode_display.c b/src/drmmode_display.c