diff options
author | Ricardo Ribalda <ribalda@chromium.org> | 2021-03-15 13:34:05 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-04-09 13:06:48 +0200 |
commit | 3630901933afba1d16c462b04d569b7576339223 (patch) | |
tree | 341b39a80b533cda1b954293d06782927fd083dc /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 4103369093df0e2ccc295ad08a3077b72aed0ccb (diff) |
media: staging/intel-ipu3: Fix memory leak in imu_fmt
We are losing the reference to an allocated memory if try. Change the
order of the check to avoid that.
Cc: stable@vger.kernel.org
Fixes: 6d5f26f2e045 ("media: staging/intel-ipu3-v4l: reduce kernel stack usage")
Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
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