diff options
author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2024-12-03 12:23:01 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2024-12-19 12:50:13 +0100 |
commit | da73efa8e675a2b58f1c7ae61201acfe57714bf7 (patch) | |
tree | a1388118b0c85b1f1f309e34b160aeadea7bfa94 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 82b696750f0b60e7513082a10ad42786854f59f8 (diff) |
media: ccs: Clean up parsed CCS static data on parse failure
ccs_data_parse() releases the allocated in-memory data structure when the
parser fails, but it does not clean up parsed metadata that is there to
help access the actual data. Do that, in order to return the data
structure in a sane state.
Fixes: a6b396f410b1 ("media: ccs: Add CCS static data parser library")
Cc: stable@vger.kernel.org
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Mehdi Djait <mehdi.djait@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions