diff options
author | Mehdi Djait <mehdi.djait@linux.intel.com> | 2024-12-11 14:30:45 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2024-12-19 12:50:14 +0100 |
commit | 6fdbff0f54786e94f0f630ff200ec1d666b1633e (patch) | |
tree | 1740dad6d03bc460ee50ef6ace910a784dc43f6a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b06ec03b7464fdf235487cb68ce0902df8c34aa6 (diff) |
media: ccs: Fix cleanup order in ccs_probe()
ccs_limits is allocated in ccs_read_all_limits() after the allocation of
mdata.backing. Ensure that resources are freed in the reverse order of
their allocation by moving out_free_ccs_limits up.
Fixes: a11d3d6891f0 ("media: ccs: Read CCS static data from firmware binaries")
Cc: stable@vger.kernel.org
Signed-off-by: Mehdi Djait <mehdi.djait@linux.intel.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions