summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2020-04-29 13:42:32 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2020-05-19 09:56:40 +0300
commit3f9c1c872cc97875ddc8d63bc9fe6ee13652b933 (patch)
tree8d8e5e9068bbb59cb4e554bba86bd1eb62f68660 /tools/perf/scripts/python
parent5bebaeadb30e8d1ed694bd9b63d4e424d333fe36 (diff)
drm/tilcdc: fix leak & null ref in panel_connector_get_modes
If videomode_from_timings() returns true, the mode allocated with drm_mode_create will be leaked. Also, the return value of drm_mode_create() is never checked, and thus could cause NULL deref. Fix these two issues. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200429104234.18910-1-tomi.valkeinen@ti.com Reviewed-by: Jyri Sarha <jsarha@ti.com> Acked-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions