gpu: pvr: fix error path in PVRSRVOpenBCDeviceKM
authorImre Deak <imre.deak@nokia.com>
Wed, 30 Mar 2011 12:37:04 +0000 (15:37 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 20 May 2012 18:43:04 +0000 (21:43 +0300)
commitbe34366a0710e004b3f09ae75a678d3cbd735627
treeb9617f0708e78ab58b6bf13279470b3cf022c835
parent8e1b1a7e93b9aafe60e931fed4602c6cd92c44ad
gpu: pvr: fix error path in PVRSRVOpenBCDeviceKM

Add missing frees / ref count rollback.

Reported-by: Coverity
Signed-off-by: Imre Deak <imre.deak@nokia.com>
Reviewed-by: Pauli Nieminen <ext-pauli.nieminen@nokia.com>
pvr/deviceclass.c