drm/i915: fix small leak on overlay error path
commit915a428e43acfd05e4ffeaf40549b0cf163eebe2
authorDan Carpenter <error27@gmail.com>
Sat, 6 Mar 2010 11:05:39 +0000 (6 14:05 +0300)
committerEric Anholt <eric@anholt.net>
Wed, 17 Mar 2010 20:30:15 +0000 (17 13:30 -0700)
tree717b701bbc378aa06ace37c11c45716be8794dc1
parent1f2b10131f83f7caa67bf1273cec126b4283015d
drm/i915: fix small leak on overlay error path

We should free "params" before returning.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Reviewed-by: Daniel Vetter <daniel@ffwll.ch>
Cc: stable@kernel.org (for .33)
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_overlay.c