diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2015-03-18 11:21:58 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-03-20 11:48:12 +0100 |
commit | dabde5c7320059af62ce0a706ad11c793bad1345 (patch) | |
tree | a6eef36fa03d8b562d072842e739f85a25b8f5e5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a1ddefd8f3963cd9edfda86a0affff8e53d4a762 (diff) |
drm/i915: memory leak in __i915_gem_vma_create()
In the original code then if WARN_ON(i915_is_ggtt(vm) != !!ggtt_view)
was true then we leak "vma". Presumably that doesn't happen often but
static checkers complain and this bug is easy to fix.
Fixes: c3bbb6f2825d ('drm/i915: Do not use ggtt_view with (aliasing) PPGTT')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions