diff options
author | Arnaud Pouliquen <[email protected]> | 2021-12-06 20:07:58 +0100 |
---|---|---|
committer | Mathieu Poirier <[email protected]> | 2021-12-08 10:16:50 -0700 |
commit | 8066c615cb69b7da8a94f59379847b037b3a5e46 (patch) | |
tree | b5fc89f1458864316d1ee966b6342a6bd10aa06e /tools/perf/util/scripting-engines/trace-event-perl.c | |
parent | 631af6e0f41002dc63504efd2f6c3e1ab5f931c5 (diff) |
rpmsg: core: Clean up resources on announce_create failure.
During the rpmsg_dev_probe, if rpdev->ops->announce_create returns an
error, the rpmsg device and default endpoint should be freed before
exiting the function.
Fixes: 5e619b48677c ("rpmsg: Split rpmsg core and virtio backend")
Suggested-by: Bjorn Andersson <[email protected]>
Signed-off-by: Arnaud Pouliquen <[email protected]>
Reviewed-by: Bjorn Andersson <[email protected]>
Cc: stable <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mathieu Poirier <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions