diff options
| author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2019-09-23 06:09:46 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-10-01 17:32:55 -0300 |
| commit | 355047f411c0516533b8c9c96eb6cea252bc78f0 (patch) | |
| tree | 5c522cca920fe894cfaa0f3b9cd145202ea2be47 /tools/perf/scripts/python | |
| parent | 8f4ac27af9d61776ee7218175ce300c2cb6a7121 (diff) | |
| download | linux-355047f411c0516533b8c9c96eb6cea252bc78f0.tar.gz linux-355047f411c0516533b8c9c96eb6cea252bc78f0.zip | |
media: v4l: fwnode: Make v4l2_fwnode_endpoint_free() safer
Assign vep->link_frequencies to NULL after releasing its memory. Without
this change, multiple calls to v4l2_fwnode_endpoint_free() would result in
double kfree calls.
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
