gpu: pvr: Changed ReallocMem.
authorJanusz Sobczak <janusz.sobczak@imgtec.com>
Mon, 9 Aug 2010 11:22:04 +0000 (13:22 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 20 May 2012 18:09:42 +0000 (21:09 +0300)
commit669de8c78a39a0548179b66e6e18a334874e833c
tree8bda81b147cdf967e73340181c319ee72a33e32d
parent840893a28da94af53fa21e6eb209bb116f78d2b1
gpu: pvr: Changed ReallocMem.

A static analysis tool showed a possible defect in ReallocMem() -
derefencing a null pointer. It was a false positive.

This patch slightly modifies ReallocMem() to avoid this warning.

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