On Fri, Nov 22, 2019 at 04:09:55PM -0600, Navid Emamdoost wrote:
> In the implementation of sync_file_merge() the allocated sync_file is
> leaked if number of fences overflows. Release sync_file by goto err.
>
> Fixes: a02b9dc90d84 ("dma-buf/sync_file: refactor fence storage in struct
> sync_file
In the implementation of sync_file_merge() the allocated sync_file is
leaked if number of fences overflows. Release sync_file by goto err.
Fixes: a02b9dc90d84 ("dma-buf/sync_file: refactor fence storage in struct
sync_file")
Signed-off-by: Navid Emamdoost
---
drivers/dma-buf/sync_file.c | 2 +-