drm/i915: Free wa_batchbuffer when freeing error state
authorMika Kuoppala <mika.kuoppala@linux.intel.com>
Mon, 4 May 2015 14:44:11 +0000 (17:44 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 8 May 2015 11:03:37 +0000 (13:03 +0200)
commitb3da4a627eb710254e09c6b8dbe94a4aa35382d2
treeea47d5619d4649eb4686d45585f9f36cc049644f
parentd3902c3eba3666f001fa82fa16109aa4ab0074dc
drm/i915: Free wa_batchbuffer when freeing error state

wa_batchbuffer is part of some error states. Make sure it
is freed.

Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gpu_error.c