Re: [FFmpeg-devel] [PATCH] cmdutils_opencl: fix resource_leak cid 1396852

2017-01-12 Thread Steven Liu
2017-01-13 6:51 GMT+08:00 Michael Niedermayer : > On Thu, Jan 12, 2017 at 01:31:04PM +0800, Steven Liu wrote: > > CID: 1396852 > > check the devices_list alloc status, > > and release the devices_list when alloc devices error > > > > Signed-off-by: Steven Liu > > --- > > cmdutils_opencl.c | 9 ++

Re: [FFmpeg-devel] [PATCH] cmdutils_opencl: fix resource_leak cid 1396852

2017-01-12 Thread Michael Niedermayer
On Thu, Jan 12, 2017 at 01:31:04PM +0800, Steven Liu wrote: > CID: 1396852 > check the devices_list alloc status, > and release the devices_list when alloc devices error > > Signed-off-by: Steven Liu > --- > cmdutils_opencl.c | 9 +++-- > 1 file changed, 7 insertions(+), 2 deletions(-) i th

[FFmpeg-devel] [PATCH] cmdutils_opencl: fix resource_leak cid 1396852

2017-01-11 Thread Steven Liu
CID: 1396852 check the devices_list alloc status, and release the devices_list when alloc devices error Signed-off-by: Steven Liu --- cmdutils_opencl.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/cmdutils_opencl.c b/cmdutils_opencl.c index dd21344..655d1c9 100644