Skip to content

pvr: Check if the buffer/image was bound before unbinding.

Try to unbind a buffer or image if it was not bound in the first place causes a segmentation fault. This change resolves the issue by checking for a valid vma before freeing it.

Signed-off-by: Rajnesh Kanwal rajnesh.kanwal@imgtec.com

/cc @frankbinns

Merge request reports