diff options
author | Chris Wright <chrisw@sous-sol.org> | 2009-04-17 03:18:55 +0200 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-04-22 03:25:18 +0200 |
commit | 355d7f370b51bbb6f31aaf9f98861057e1e6bbb2 (patch) | |
tree | 999c1c660c62aa6501bda57d54da684c2713292a /arch/m32r/include/asm/poll.h | |
parent | drm/i915: fix unpaired i915 device mutex on entervt failure. (diff) | |
download | linux-355d7f370b51bbb6f31aaf9f98861057e1e6bbb2.tar.xz linux-355d7f370b51bbb6f31aaf9f98861057e1e6bbb2.zip |
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: Chris Wright <chrisw@sous-sol.org>
[anholt: fixed uninit variable use introduced in original patch]
Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'arch/m32r/include/asm/poll.h')
0 files changed, 0 insertions, 0 deletions