commit | 37b617f9be527b1f1181e3ff23df4cdbe3e6441f | [log] [tgz] |
---|---|---|
author | Christian Engelmayer <cengelma@gmx.at> | Sat Jul 11 19:46:11 2015 +0200 |
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | Mon Aug 10 15:11:12 2015 +0300 |
tree | de0c5122303af4ca1a73aed0f9ba594b287f6894 | |
parent | 9e6e35edb330619fbfa3457eff1d15d3672c833a [diff] |
video: Fix possible leak in of_get_videomode() In case videomode_from_timings() fails in function of_get_videomode(), the allocated display timing data is not freed in the exit path. Make sure that display_timings_release() is called in any case. Detected by Coverity CID 1309681. Signed-off-by: Christian Engelmayer <cengelma@gmx.at> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>