diff options
author | Laurent Pinchart <[email protected]> | 2016-03-02 12:51:19 +0200 |
---|---|---|
committer | Tomi Valkeinen <[email protected]> | 2016-03-03 17:38:46 +0200 |
commit | c2eb77ff717c3aa403f5807425a7f2b2cb67b6b3 (patch) | |
tree | 84fe8bfbf7548fce6e5aa8d7f9b89dda18daf0bf /tools/perf/scripts/python/Perf-Trace-Util/lib | |
parent | 39cd66209db9c0e8e80e24321d9f47de8ac5c52e (diff) |
drm/omap: gem: Fix omap_gem_new() error path
When an error occurs in omap_gem_new() the function calls
omap_gem_free_object() to clean up. However, that function expects to be
called on a fully initialized GEM object and thus crashes.
Replace it by manual cleanup.
Signed-off-by: Laurent Pinchart <[email protected]>
Signed-off-by: Tomi Valkeinen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions