summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/video/of_display_timing.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/video/of_display_timing.c')
-rw-r--r--kernel/drivers/video/of_display_timing.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/drivers/video/of_display_timing.c b/kernel/drivers/video/of_display_timing.c
index 32d8275e4..8a1076bee 100644
--- a/kernel/drivers/video/of_display_timing.c
+++ b/kernel/drivers/video/of_display_timing.c
@@ -210,6 +210,7 @@ struct display_timings *of_get_display_timings(struct device_node *np)
*/
pr_err("%s: error in timing %d\n",
of_node_full_name(np), disp->num_timings + 1);
+ kfree(dt);
goto timingfail;
}