summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorZhipeng Lu <alexious@zju.edu.cn>2024-02-01 20:47:53 +0800
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2024-02-05 12:57:45 +0100
commit8cf9c5051076e0eb958f4361d50d8b0c3ee6691c (patch)
tree6fb1a8ca227e5d1169755ad3a49c7aabb6e89e5e /tools/perf/scripts/python/export-to-postgresql.py
parent6c1a584a15d6ee35fa3448b84379150b401eb148 (diff)
media: v4l2-tpg: fix some memleaks in tpg_alloc
In tpg_alloc, resources should be deallocated in each and every error-handling paths, since they are allocated in for statements. Otherwise there would be memleaks because tpg_free is called only when tpg_alloc return 0. Fixes: 63881df94d3e ("[media] vivid: add the Test Pattern Generator") Signed-off-by: Zhipeng Lu <alexious@zju.edu.cn> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions