nouveau: don't leak dec struct on error
authorDave Airlie <airlied@redhat.com>
Mon, 1 Sep 2014 23:07:55 +0000 (09:07 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 2 Sep 2014 00:08:58 +0000 (10:08 +1000)
commit19f6e80a1eaf055b13ba744d5e18af8c2984cc1d
tree5b7b2d4047c697103659782ccaad794aa7fd427b
parent32a8b2cf548ae04374b6497a0c4b1c7f1a4339ec
nouveau: don't leak dec struct on error

This one path doesn't goto fail, so it seems to leak dec.

Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/nouveau/nouveau_video.c