]> git.openpandora.org Git - sgx.git/commitdiff
gpu: pvr: Changed error-path condtion.
authorJanusz Sobczak <janusz.sobczak@imgtec.com>
Mon, 9 Aug 2010 11:21:47 +0000 (13:21 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 20 May 2012 18:09:42 +0000 (21:09 +0300)
Changed the condition to equivalent but less confusing one.

Signed-off-by: Janusz Sobczak <janusz.sobczak@imgtec.com>
Signed-off-by: Imre Deak <imre.deak@nokia.com>
pvr/devicemem.c

index 0fcd2e493c92e240516ce01da698f2645962bb04..3912f2bc1175733acf889d2c7ba5161a13854dbc 100644 (file)
@@ -844,7 +844,7 @@ ErrorExitPhase3:
        }
 
 ErrorExitPhase2:
-       if (psIntSysPAddr)
+       if (hOSWrapMem)
                OSReleasePhysPageAddr(hOSWrapMem);
 
 ErrorExitPhase1: