diff options
author | Johan Hovold <[email protected]> | 2022-03-03 19:06:32 +0100 |
---|---|---|
committer | Krzysztof Kozlowski <[email protected]> | 2022-04-04 18:29:11 +0200 |
commit | b452dbf24d7d9a990d70118462925f6ee287d135 (patch) | |
tree | fe00bcf9a62df7d6a0a99e4e71f7e4879b9db96d /lib/test-string_helpers.c | |
parent | 3123109284176b1532874591f7c81f3837bbdc17 (diff) |
memory: renesas-rpc-if: fix platform-device leak in error path
Make sure to free the flash platform device in the event that
registration fails during probe.
Fixes: ca7d8b980b67 ("memory: add Renesas RPC-IF driver")
Cc: [email protected] # 5.8
Cc: Sergei Shtylyov <[email protected]>
Signed-off-by: Johan Hovold <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions