diff options
author | Navid Emamdoost <navid.emamdoost@gmail.com> | 2019-09-25 10:27:41 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-04 18:22:14 +0200 |
commit | fc739a058d99c9297ef6bfd923b809d85855b9a9 (patch) | |
tree | 597aac8213b123a80d699b0c598fe5ac63ef4036 /drivers/android/binder.c | |
parent | f8204f0ddd62966a0e79c2804963a21e3540dd82 (diff) |
misc: fastrpc: prevent memory leak in fastrpc_dma_buf_attach
In fastrpc_dma_buf_attach if dma_get_sgtable fails the allocated memory
for a should be released.
Signed-off-by: Navid Emamdoost <navid.emamdoost@gmail.com>
Link: https://lore.kernel.org/r/20190925152742.16258-1-navid.emamdoost@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/android/binder.c')
0 files changed, 0 insertions, 0 deletions