diff options
| author | Christophe JAILLET <[email protected]> | 2023-04-25 15:25:46 +0200 |
|---|---|---|
| committer | Hans Verkuil <[email protected]> | 2023-05-25 16:21:20 +0200 |
| commit | b2aa8ac6f97e26d788948fb60dcc5625c9633f4e (patch) | |
| tree | 2a44247d41901da394623937661fce4c78446357 /tools/perf/scripts/python/flamegraph.py | |
| parent | 4a35700018065a3f40b9d5dd84829f7086594c9f (diff) | |
media: common: saa7146: Avoid a leak in vmalloc_to_sg()
Commit in Fixes turned a BUG() into a "normal" memory allocation failure.
While at it, it introduced a memory leak.
So fix it.
Also update the comment on top of the function to reflect what has been
change by the commit in Fixes.
Fixes: 40e986c99624 ("media: common: saa7146: replace BUG_ON by WARN_ON")
Signed-off-by: Christophe JAILLET <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions