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

2017-02-07 Thread Wei Gao
2017-01-12 3:29 GMT+08:00 Michael Niedermayer : > On Tue, Jan 10, 2017 at 07:44:32PM +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 | 7 ++

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

2017-01-11 Thread Michael Niedermayer
On Tue, Jan 10, 2017 at 07:44:32PM +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 | 7 ++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > dif

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

2017-01-10 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 | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cmdutils_opencl.c b/cmdutils_opencl.c index dd21344..5bbc8dc 100644 --