Skip to content
Commit b42939aa authored by Suresh Thiagarajan's avatar Suresh Thiagarajan Committed by Christoph Hellwig
Browse files

pm80xx : Fix missing NULL pointer checks and memory leaks



Checking return value for the memory allocattion and freeing it
while exiting the function

Signed-off-by: default avatarViswas G <Viswas.G@pmcs.com>
Signed-off-by: default avatarSuresh Thiagarajan <Suresh.Thiagarajan@pmcs.com>
Reviewed-by: default avatarTomas Henzl <thenzl@redhat.com>
Acked-by: default avatarJack Wang <xjtuwjp@gmail.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent f259d9bd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment