Re: [PATCH libdrm] xf86drm: Fix possible memory leak with drmModeGetPropertyPtr()

2019-05-03 Thread Eric Engestrom
On Monday, 2019-04-29 18:10:52 +0900, Seung-Woo Kim wrote: > In drmModeGetPropertyPtr(), from upper error path, it calls free > but with just next error path, it does not call. Fix the possible > memory leak. > > Signed-off-by: Seung-Woo Kim Reviewed-by: Eric Engestrom and pushed, thanks! > --

[PATCH libdrm] xf86drm: Fix possible memory leak with drmModeGetPropertyPtr()

2019-04-29 Thread Seung-Woo Kim
In drmModeGetPropertyPtr(), from upper error path, it calls free but with just next error path, it does not call. Fix the possible memory leak. Signed-off-by: Seung-Woo Kim --- xf86drmMode.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/xf86drmMode.c b/xf86drmMode.c i