Re: [PATCH libdrm] xf86drm: remove memory leaks in drmGetBusid/drmGetReservedContextList

2017-04-03 Thread Emil Velikov
On 28 March 2017 at 16:35, Nicolai Hähnle wrote: > On 27.03.2017 04:09, Seung-Woo Kim wrote: >> >> In error path of drmGetBusid() and drmGetReservedContextList(), >> there are memory leaks for error path. So this removes them. >> >> Signed-off-by: Seung-Woo Kim > > > Reviewed-by: Nicolai Hähnle

Re: [PATCH libdrm] xf86drm: remove memory leaks in drmGetBusid/drmGetReservedContextList

2017-03-28 Thread Nicolai Hähnle
On 27.03.2017 04:09, Seung-Woo Kim wrote: In error path of drmGetBusid() and drmGetReservedContextList(), there are memory leaks for error path. So this removes them. Signed-off-by: Seung-Woo Kim Reviewed-by: Nicolai Hähnle --- xf86drm.c | 18 -- 1 files changed, 12 ins

[PATCH libdrm] xf86drm: remove memory leaks in drmGetBusid/drmGetReservedContextList

2017-03-26 Thread Seung-Woo Kim
In error path of drmGetBusid() and drmGetReservedContextList(), there are memory leaks for error path. So this removes them. Signed-off-by: Seung-Woo Kim --- xf86drm.c | 18 -- 1 files changed, 12 insertions(+), 6 deletions(-) diff --git a/xf86drm.c b/xf86drm.c index 88f86ed..