summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2014-09-25 23:24:27 +0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2015-03-24 14:50:54 +0300
commit925e4940489a792b4aaf601c22c1943fbd9fd558 (patch)
tree0ab13e08156788dccdb25d80c9921045d57a40d2 /tools/perf/scripts/python/export-to-postgresql.py
parentc7c1aecd8e490c3818eaaea33e3c0d372931350a (diff)
downloadlinux-925e4940489a792b4aaf601c22c1943fbd9fd558.tar.xz
drm/omap: fix error handling in omap_framebuffer_create()
When an error happens in omap_framebuffer_create(), omap_framebuffer_create() calls omap_framebuffer_destroy() if the fb struct has been allocated. However, that crashes, as omap_framebuffer_destroy(), which calls drm_framebuffer_cleanup(), should only be called after drm_framebuffer_init() Fix this by just calling kfree() for the allocated fb when an error happens. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions