diff options
| author | Colin Ian King <colin.king@canonical.com> | 2019-06-08 07:27:25 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-06-21 16:19:54 -0400 |
| commit | a84e355ecd3ed9759d7aaa40170aab78e2a68a06 (patch) | |
| tree | 6d7203447703da5dd208d3a34864775b7fe0c077 /tools/perf/scripts/python/bin/export-to-sqlite-record | |
| parent | media: hantro: remove an unnecessary NULL check (diff) | |
| download | linux-a84e355ecd3ed9759d7aaa40170aab78e2a68a06.tar.gz linux-a84e355ecd3ed9759d7aaa40170aab78e2a68a06.zip | |
media: staging: davinci: fix memory leaks and check for allocation failure
There are three error return paths that don't kfree params causing a
memory leak. Fix this by adding an error return path that kfree's
params before returning. Also add a check to see params failed to
be allocated.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-sqlite-record')
0 files changed, 0 insertions, 0 deletions
