mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
greybus: es1-ap-usb: don't use 'es1' after it is freed
greybus_remove_hd() will free memory allocated to 'es1' and so using it after the routine has returned isn't right. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
This commit is contained in:
parent
bf2329fd7d
commit
ecc25a7f58
1 changed files with 3 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue