summaryrefslogtreecommitdiff
path: root/include/soc
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2018-06-12 15:41:41 +0300
committerAndy Gross <andy.gross@linaro.org>2018-07-21 22:53:47 +0300
commit78ee559d7fc65e37670a46cfbeaaa62cb014af67 (patch)
tree140cc553fac52324a07dd69fe557db7fec3105c4 /include/soc
parent4da3b0452bc66af8feca71b176668faf3d0e750d (diff)
downloadlinux-78ee559d7fc65e37670a46cfbeaaa62cb014af67.tar.xz
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: d1de6d6c639b ("soc: qcom: Remote filesystem memory driver") Cc: stable <stable@vger.kernel.org> # 4.15 Cc: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Andy Gross <andy.gross@linaro.org>
Diffstat (limited to 'include/soc')
0 files changed, 0 insertions, 0 deletions