]> git.baikalelectronics.ru Git - kernel.git/commit
video: of: fix memory leak
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Wed, 30 Sep 2015 09:54:08 +0000 (15:24 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 7 Oct 2015 11:13:59 +0000 (14:13 +0300)
commitb8054fceaf963527cd05a58e7d110ed737faeed0
tree877e4952a5499497c6d09dd11ff96def30ba35b5
parentfb6501f6eb5f9cad170b09797f894cad8cb6b7e1
video: of: fix memory leak

If of_parse_display_timing() fails we are printing an error message and
jumping to the error path but we missed freeing "dt".

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/of_display_timing.c