diff options
author | Zhipeng Lu <[email protected]> | 2024-02-21 13:17:04 +0800 |
---|---|---|
committer | Hans Verkuil <[email protected]> | 2024-02-28 16:00:33 +0100 |
commit | d0b07f712bf61e1a3cf23c87c663791c42e50837 (patch) | |
tree | c33d7a2554f23e07cdc03f1c04307daf98f56d23 /tools/perf/util/trace-event-scripting.c | |
parent | b9b683844b01d171a72b9c0419a2d760d946ee12 (diff) |
media: ttpci: fix two memleaks in budget_av_attach
When saa7146_register_device and saa7146_vv_init fails, budget_av_attach
should free the resources it allocates, like the error-handling of
ttpci_budget_init does. Besides, there are two fixme comment refers to
such deallocations.
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Zhipeng Lu <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions