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

Michael Niedermayer michael at niedermayer.cc
Fri Jan 13 00:51:05 EET 2017


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 <lq at chinaffmpeg.org>
> ---
>  cmdutils_opencl.c | 9 +++++++--
>  1 file changed, 7 insertions(+), 2 deletions(-)

i think this patch is correct

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Breaking DRM is a little like attempting to break through a door even
though the window is wide open and the only thing in the house is a bunch
of things you dont want and which you would get tomorrow for free anyway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170112/81409f32/attachment.sig>


More information about the ffmpeg-devel mailing list