vfio/type1: Fix leak on error path
authorAlex Williamson <alex.williamson@redhat.com>
Mon, 1 Jul 2013 14:28:58 +0000 (08:28 -0600)
committerAlex Williamson <alex.williamson@redhat.com>
Mon, 1 Jul 2013 14:28:58 +0000 (08:28 -0600)
We also don't handle unpinning zero pages as an error on other exits
so we can fix that inconsistency by rolling in the next conditional
return.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>

No differences found