Skip to content
Commit 355d7f37 authored by Chris Wright's avatar Chris Wright Committed by Eric Anholt
Browse files

drm/i915: fix up error path leak in i915_cmdbuffer



Commit 201361a5 introduces a leak when unwinding on error.  Reorder
unwind, and eliminate leak.

Cc: Eric Anholt <eric@anholt.net>
Cc: Keith Packard <keithp@keithp.com>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: default avatarChris Wright <chrisw@sous-sol.org>
[anholt: fixed uninit variable use introduced in original patch]
Signed-off-by: default avatarEric Anholt <eric@anholt.net>
parent d816f6ac
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment