summaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc/at91-sama5d2_adc.c
diff options
context:
space:
mode:
authorNavid Emamdoost <navid.emamdoost@gmail.com>2019-11-22 23:09:55 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2019-11-25 10:21:33 +0100
commit6645d42d79d33e8a9fe262660a75d5f4556bbea9 (patch)
treead329ce33e9f3ca9b9112cbf85aee0460b72273c /drivers/iio/adc/at91-sama5d2_adc.c
parentdrm/mcde: dsi: Fix invalid pointer dereference if panel cannot be found (diff)
downloadlinux-6645d42d79d33e8a9fe262660a75d5f4556bbea9.tar.xz
linux-6645d42d79d33e8a9fe262660a75d5f4556bbea9.zip
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 'drivers/iio/adc/at91-sama5d2_adc.c')
0 files changed, 0 insertions, 0 deletions