Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
soc: qcom: rmtfs-mem: fix memleak in probe error paths
Make sure to set the mem device release callback before calling put_device() in a couple of probe error paths so that the containing object also gets freed. Fixes: d1de6d6 ("soc: qcom: Remote filesystem memory driver") Cc: stable <[email protected]> # 4.15 Cc: Bjorn Andersson <[email protected]> Signed-off-by: Johan Hovold <[email protected]> Signed-off-by: Andy Gross <[email protected]>
- Loading branch information