Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5a1e6f75 authored by Axel Lin's avatar Axel Lin Committed by Linus Torvalds
Browse files

drivers/misc/spear13xx_pcie_gadget.c: fix a memory leak in spear_pcie_gadget_probe error path



In the case of goto err_kzalloc, we should kfree target.

Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Acked-by: default avatarPratyush Anand <pratyush.anand@st.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 32e45ff4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment