diff options
author | Johan Hovold | 2018-06-12 14:41:41 +0200 |
---|---|---|
committer | Andy Gross | 2018-07-21 14:53:47 -0500 |
commit | 78ee559d7fc65e37670a46cfbeaaa62cb014af67 (patch) | |
tree | 140cc553fac52324a07dd69fe557db7fec3105c4 /include/dt-bindings | |
parent | 4da3b0452bc66af8feca71b176668faf3d0e750d (diff) |
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/dt-bindings')
0 files changed, 0 insertions, 0 deletions