diff options
author | Navid Emamdoost <navid.emamdoost@gmail.com> | 2019-11-22 16:09:55 -0600 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2019-11-25 10:21:33 +0100 |
commit | 6645d42d79d33e8a9fe262660a75d5f4556bbea9 (patch) | |
tree | ad329ce33e9f3ca9b9112cbf85aee0460b72273c /.mailmap | |
parent | c131280c03bd1c225c2e64e9ef75873ffca3d96e (diff) | |
download | linux-6645d42d79d33e8a9fe262660a75d5f4556bbea9.tar.bz2 |
dma-buf: Fix memory leak in sync_file_merge()
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 <navid.emamdoost@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20191122220957.30427-1-navid.emamdoost@gmail.com
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions